forked from Ivasoft/openwrt
geos: add missing files from previous commit
SVN-Revision: 29997
This commit is contained in:
30
target/linux/x86/geos/base-files/etc/config/system
Normal file
30
target/linux/x86/geos/base-files/etc/config/system
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
config system
|
||||
option hostname OpenWrt
|
||||
option timezone UTC
|
||||
|
||||
config timeserver ntp
|
||||
list server 0.openwrt.pool.ntp.org
|
||||
list server 1.openwrt.pool.ntp.org
|
||||
list server 2.openwrt.pool.ntp.org
|
||||
list server 3.openwrt.pool.ntp.org
|
||||
|
||||
config led
|
||||
option default 0
|
||||
option name LAN
|
||||
option sysfs 'geos:1'
|
||||
option trigger netdev
|
||||
option mode 'tx rx'
|
||||
option dev 'br-lan'
|
||||
|
||||
config led
|
||||
option default 0
|
||||
option name WiFi
|
||||
option sysfs 'geos:2'
|
||||
option trigger 'phy0tpt'
|
||||
|
||||
config led
|
||||
option default 0
|
||||
option name Health
|
||||
option sysfs 'geos:3'
|
||||
option trigger 'heartbeat'
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
logger -t button -p daemon.info "$BUTTON/$ACTION"
|
||||
|
||||
case "$BUTTON/$ACTION" in
|
||||
|
||||
reset/released)
|
||||
reboot -f
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user