summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/geos/base-files/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-02 18:59:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-02 18:59:51 +0000
commit1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea (patch)
treeb5d1fbea4937a9890ee1c8ee826b4acfedf8d382 /target/linux/x86/geos/base-files/etc
parenta1258ccabaf771bcde03c7620590a29e769ee3b3 (diff)
downloadmaster-31e0f0ae-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.tar.gz
master-31e0f0ae-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.tar.bz2
master-31e0f0ae-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.zip
geos: add missing files from previous commit
SVN-Revision: 29997
Diffstat (limited to 'target/linux/x86/geos/base-files/etc')
-rw-r--r--target/linux/x86/geos/base-files/etc/config/system30
-rw-r--r--target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot13
2 files changed, 43 insertions, 0 deletions
diff --git a/target/linux/x86/geos/base-files/etc/config/system b/target/linux/x86/geos/base-files/etc/config/system
new file mode 100644
index 0000000000..988c849ec1
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/config/system
@@ -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'
diff --git a/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot b/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot
new file mode 100644
index 0000000000..bf893c15bb
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot
@@ -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