diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/adm5120/base-files/etc | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/adm5120/base-files/etc')
11 files changed, 388 insertions, 0 deletions
diff --git a/target/linux/adm5120/base-files/etc/.svn/entries b/target/linux/adm5120/base-files/etc/.svn/entries new file mode 100644 index 0000000..f62fd43 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/.svn/entries @@ -0,0 +1,99 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/adm5120/base-files/etc +svn://svn.openwrt.org/openwrt + + + +2013-02-18T09:56:26.396288Z +35649 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +config +dir + +inittab +file + + + + +2013-03-17T12:12:30.000000Z +fb5e27d753018f4d5f92963c5694237f +2012-12-03T16:18:40.654943Z +34469 +florian + + + + + + + + + + + + + + + + + + + + + +170 + +diag.sh +file + + + + +2013-03-17T12:12:30.000000Z +97749dc9818f8e4a6c8ea12f37440ea7 +2013-02-18T09:56:26.396288Z +35649 +juhosg +has-props + + + + + + + + + + + + + + + + + + + + +262 + diff --git a/target/linux/adm5120/base-files/etc/.svn/prop-base/diag.sh.svn-base b/target/linux/adm5120/base-files/etc/.svn/prop-base/diag.sh.svn-base new file mode 100644 index 0000000..03b5bfa --- /dev/null +++ b/target/linux/adm5120/base-files/etc/.svn/prop-base/diag.sh.svn-base @@ -0,0 +1,9 @@ +K 13 +svn:eol-style +V 6 +native +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/adm5120/base-files/etc/.svn/text-base/diag.sh.svn-base b/target/linux/adm5120/base-files/etc/.svn/text-base/diag.sh.svn-base new file mode 100644 index 0000000..dede589 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/.svn/text-base/diag.sh.svn-base @@ -0,0 +1,20 @@ +#!/bin/sh +# Copyright (C) 2007-2013 OpenWrt.org + +. /lib/functions/leds.sh +. /lib/adm5120.sh + +set_state() { + case "$1" in + preinit) + insmod leds-gpio + status_led_blink_preinit + ;; + failsafe) + status_led_blink_failsafe + ;; + done) + status_led_on + ;; + esac +} diff --git a/target/linux/adm5120/base-files/etc/.svn/text-base/inittab.svn-base b/target/linux/adm5120/base-files/etc/.svn/text-base/inittab.svn-base new file mode 100644 index 0000000..9f7c0ae --- /dev/null +++ b/target/linux/adm5120/base-files/etc/.svn/text-base/inittab.svn-base @@ -0,0 +1,5 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +tts/0::askfirst:/bin/ash --login +ttyAM0::askfirst:/bin/ash --login +tty1::askfirst:/bin/ash --login diff --git a/target/linux/adm5120/base-files/etc/config/.svn/entries b/target/linux/adm5120/base-files/etc/config/.svn/entries new file mode 100644 index 0000000..5001106 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/.svn/entries @@ -0,0 +1,96 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/adm5120/base-files/etc/config +svn://svn.openwrt.org/openwrt + + + +2011-11-10T12:16:41.178346Z +28933 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +system +file + + + + +2013-03-17T12:12:30.000000Z +eae4835062513328f6db536fba1cd33c +2011-11-10T12:16:41.178346Z +28933 +jow + + + + + + + + + + + + + + + + + + + + + +742 + +network +file + + + + +2013-03-17T12:12:30.000000Z +aafe7d52c116e9f14265546cebed216a +2011-01-27T21:49:42.631475Z +25171 +florian + + + + + + + + + + + + + + + + + + + + + +481 + diff --git a/target/linux/adm5120/base-files/etc/config/.svn/text-base/network.svn-base b/target/linux/adm5120/base-files/etc/config/.svn/text-base/network.svn-base new file mode 100644 index 0000000..df2f201 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/.svn/text-base/network.svn-base @@ -0,0 +1,27 @@ +#### VLAN configuration +config switch + option eth0 "0 1 2 3" + option eth1 "4" + + +#### Loopback configuration +config interface loopback + option ifname "lo" + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + + +#### LAN configuration +config interface lan + option type bridge + option ifname "eth0" + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + + +#### WAN configuration +config interface wan + option ifname "eth1" + option proto dhcp diff --git a/target/linux/adm5120/base-files/etc/config/.svn/text-base/system.svn-base b/target/linux/adm5120/base-files/etc/config/.svn/text-base/system.svn-base new file mode 100644 index 0000000..ea54ca1 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/.svn/text-base/system.svn-base @@ -0,0 +1,40 @@ +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 sysfs lan1 + option trigger port_state + option port_state link_act + +config led + option sysfs lan2 + option trigger port_state + option port_state link_act + +config led + option sysfs lan3 + option trigger port_state + option port_state link_act + +config led + option sysfs lan4 + option trigger port_state + option port_state link_act + +config led + option sysfs wan + option trigger port_state + option port_state link_act + +config led + option sysfs wlan + option trigger netdev + option dev wlan0 + diff --git a/target/linux/adm5120/base-files/etc/config/network b/target/linux/adm5120/base-files/etc/config/network new file mode 100644 index 0000000..df2f201 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/network @@ -0,0 +1,27 @@ +#### VLAN configuration +config switch + option eth0 "0 1 2 3" + option eth1 "4" + + +#### Loopback configuration +config interface loopback + option ifname "lo" + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + + +#### LAN configuration +config interface lan + option type bridge + option ifname "eth0" + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + + +#### WAN configuration +config interface wan + option ifname "eth1" + option proto dhcp diff --git a/target/linux/adm5120/base-files/etc/config/system b/target/linux/adm5120/base-files/etc/config/system new file mode 100644 index 0000000..ea54ca1 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/config/system @@ -0,0 +1,40 @@ +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 sysfs lan1 + option trigger port_state + option port_state link_act + +config led + option sysfs lan2 + option trigger port_state + option port_state link_act + +config led + option sysfs lan3 + option trigger port_state + option port_state link_act + +config led + option sysfs lan4 + option trigger port_state + option port_state link_act + +config led + option sysfs wan + option trigger port_state + option port_state link_act + +config led + option sysfs wlan + option trigger netdev + option dev wlan0 + diff --git a/target/linux/adm5120/base-files/etc/diag.sh b/target/linux/adm5120/base-files/etc/diag.sh new file mode 100755 index 0000000..dede589 --- /dev/null +++ b/target/linux/adm5120/base-files/etc/diag.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# Copyright (C) 2007-2013 OpenWrt.org + +. /lib/functions/leds.sh +. /lib/adm5120.sh + +set_state() { + case "$1" in + preinit) + insmod leds-gpio + status_led_blink_preinit + ;; + failsafe) + status_led_blink_failsafe + ;; + done) + status_led_on + ;; + esac +} diff --git a/target/linux/adm5120/base-files/etc/inittab b/target/linux/adm5120/base-files/etc/inittab new file mode 100644 index 0000000..9f7c0ae --- /dev/null +++ b/target/linux/adm5120/base-files/etc/inittab @@ -0,0 +1,5 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +tts/0::askfirst:/bin/ash --login +ttyAM0::askfirst:/bin/ash --login +tty1::askfirst:/bin/ash --login |