File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ config system
2+ option hostname 'Arduino'
3+ option timezone 'UTC'
4+ option timezone_desc 'Rest of the World (UTC)'
5+
6+ config timeserver 'ntp'
7+ list server '0.openwrt.pool.ntp.org'
8+ list server '1.openwrt.pool.ntp.org'
9+ list server '2.openwrt.pool.ntp.org'
10+ list server '3.openwrt.pool.ntp.org'
11+ option enable_server '0'
12+
13+ config led
14+ option default '0'
15+ option name 'wlan'
16+ option sysfs 'ds:green:wlan'
17+ option trigger 'phy0tpt'
Original file line number Diff line number Diff line change 1+ #! /bin/sh /etc/rc.common
2+
3+ # start up script for Dragino2
4+ START=99
5+
6+ start () {
7+ echo 24 > /sys/class/gpio/export
8+ echo " high" > /sys/class/gpio/gpio24/direction
9+ ifconfig eth0 172.31.255.254 netmask 255.255.255.252
10+ }
Original file line number Diff line number Diff line change 1+ ../init.d/dragino.init
You can’t perform that action at this time.
0 commit comments