aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/base-files/etc
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/mcs814x/base-files/etc
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'target/linux/mcs814x/base-files/etc')
-rw-r--r--target/linux/mcs814x/base-files/etc/.svn/entries34
-rw-r--r--target/linux/mcs814x/base-files/etc/config/.svn/entries62
-rw-r--r--target/linux/mcs814x/base-files/etc/config/.svn/text-base/network.svn-base13
-rw-r--r--target/linux/mcs814x/base-files/etc/config/network13
-rw-r--r--target/linux/mcs814x/base-files/etc/uci-defaults/.svn/entries62
-rw-r--r--target/linux/mcs814x/base-files/etc/uci-defaults/.svn/text-base/01_leds.svn-base26
-rw-r--r--target/linux/mcs814x/base-files/etc/uci-defaults/01_leds26
7 files changed, 236 insertions, 0 deletions
diff --git a/target/linux/mcs814x/base-files/etc/.svn/entries b/target/linux/mcs814x/base-files/etc/.svn/entries
new file mode 100644
index 0000000..7d2520a
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/.svn/entries
@@ -0,0 +1,34 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/mcs814x/base-files/etc
+svn://svn.openwrt.org/openwrt
+
+
+
+2013-01-18T12:42:53.029206Z
+35217
+jow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+config
+dir
+
+uci-defaults
+dir
+
diff --git a/target/linux/mcs814x/base-files/etc/config/.svn/entries b/target/linux/mcs814x/base-files/etc/config/.svn/entries
new file mode 100644
index 0000000..1cf298e
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/config/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/mcs814x/base-files/etc/config
+svn://svn.openwrt.org/openwrt
+
+
+
+2012-08-01T22:09:13.409488Z
+32941
+florian
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+network
+file
+
+
+
+
+2013-03-17T12:12:50.000000Z
+df1dd295c9234054d063a3075274e635
+2012-08-01T22:09:13.409488Z
+32941
+florian
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+270
+
diff --git a/target/linux/mcs814x/base-files/etc/config/.svn/text-base/network.svn-base b/target/linux/mcs814x/base-files/etc/config/.svn/text-base/network.svn-base
new file mode 100644
index 0000000..e24e824
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/config/.svn/text-base/network.svn-base
@@ -0,0 +1,13 @@
+# Copyright (C) 2012 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
diff --git a/target/linux/mcs814x/base-files/etc/config/network b/target/linux/mcs814x/base-files/etc/config/network
new file mode 100644
index 0000000..e24e824
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/config/network
@@ -0,0 +1,13 @@
+# Copyright (C) 2012 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
diff --git a/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/entries b/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/entries
new file mode 100644
index 0000000..03fa6e0
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/mcs814x/base-files/etc/uci-defaults
+svn://svn.openwrt.org/openwrt
+
+
+
+2013-01-18T12:42:53.029206Z
+35217
+jow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+01_leds
+file
+
+
+
+
+2013-03-17T12:12:50.000000Z
+b773bb984b273da6ead46ad1a163b66b
+2013-01-18T12:42:53.029206Z
+35217
+jow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+599
+
diff --git a/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/text-base/01_leds.svn-base b/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/text-base/01_leds.svn-base
new file mode 100644
index 0000000..8ab8b4e
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/uci-defaults/.svn/text-base/01_leds.svn-base
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+
+. /lib/functions/uci-defaults.sh
+. /lib/mcs814x.sh
+
+board=$(mcs814x_board_name)
+
+case "$board" in
+dlan-usb-extender)
+ ucidef_set_led_usbdev "usb" "USB" "dlan-usb-extender:green:usb" "1-1"
+ ;;
+rbt-832)
+ ucidef_set_led_usbdev "usb1" "USB1" "rbt-832:red:usb0" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "rbt-832:red:usb1" "1-2"
+ ucidef_set_led_usbdev "usb3" "USB3" "rbt-832:red:usb2" "1-3"
+ ucidef_set_led_usbdev "usb4" "USB4" "rbt-832:red:usb3" "1-4"
+ ucidef_set_led_netdev "eth" "eth" "rbt-832:red:ethernet" "eth0"
+ ;;
+esac
+
+ucidef_commit_leds
+
+exit 0
diff --git a/target/linux/mcs814x/base-files/etc/uci-defaults/01_leds b/target/linux/mcs814x/base-files/etc/uci-defaults/01_leds
new file mode 100644
index 0000000..8ab8b4e
--- /dev/null
+++ b/target/linux/mcs814x/base-files/etc/uci-defaults/01_leds
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+
+. /lib/functions/uci-defaults.sh
+. /lib/mcs814x.sh
+
+board=$(mcs814x_board_name)
+
+case "$board" in
+dlan-usb-extender)
+ ucidef_set_led_usbdev "usb" "USB" "dlan-usb-extender:green:usb" "1-1"
+ ;;
+rbt-832)
+ ucidef_set_led_usbdev "usb1" "USB1" "rbt-832:red:usb0" "1-1"
+ ucidef_set_led_usbdev "usb2" "USB2" "rbt-832:red:usb1" "1-2"
+ ucidef_set_led_usbdev "usb3" "USB3" "rbt-832:red:usb2" "1-3"
+ ucidef_set_led_usbdev "usb4" "USB4" "rbt-832:red:usb3" "1-4"
+ ucidef_set_led_netdev "eth" "eth" "rbt-832:red:ethernet" "eth0"
+ ;;
+esac
+
+ucidef_commit_leds
+
+exit 0