diff options
Diffstat (limited to 'target/linux/mpc83xx/base-files/etc')
7 files changed, 198 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/base-files/etc/.svn/entries b/target/linux/mpc83xx/base-files/etc/.svn/entries new file mode 100644 index 0000000..f4c510d --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/mpc83xx/base-files/etc +svn://svn.openwrt.org/openwrt + + + +2013-01-18T12:42:53.029206Z +35217 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +uci-defaults +dir + +inittab +file + + + + +2013-03-17T12:12:30.000000Z +dfeb375fcdde55896e5c8ae21ace07b7 +2010-12-13T08:01:21.821616Z +24540 +nbd + + + + + + + + + + + + + + + + + + + + + +137 + diff --git a/target/linux/mpc83xx/base-files/etc/.svn/text-base/inittab.svn-base b/target/linux/mpc83xx/base-files/etc/.svn/text-base/inittab.svn-base new file mode 100644 index 0000000..67c36a6 --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/.svn/text-base/inittab.svn-base @@ -0,0 +1,4 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +ttyS0::askfirst:/bin/ash --login +ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/mpc83xx/base-files/etc/inittab b/target/linux/mpc83xx/base-files/etc/inittab new file mode 100644 index 0000000..67c36a6 --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/inittab @@ -0,0 +1,4 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +ttyS0::askfirst:/bin/ash --login +ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/entries b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/entries new file mode 100644 index 0000000..26a374b --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/mpc83xx/base-files/etc/uci-defaults +svn://svn.openwrt.org/openwrt + + + +2013-01-18T12:42:53.029206Z +35217 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +02_network +file + + + + +2013-03-17T12:12:30.000000Z +4a72dbe91d6655ca894bc42a987314c3 +2013-01-18T12:42:53.029206Z +35217 +jow +has-props + + + + + + + + + + + + + + + + + + + + +389 + diff --git a/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base new file mode 100644 index 0000000..869ac71 --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base new file mode 100644 index 0000000..a3467aa --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2012 OpenWrt.org +# + +[ -e /etc/config/network ] && exit 0 + +touch /etc/config/network + +. /lib/functions/uci-defaults.sh +. /lib/mpc83xx.sh + +ucidef_set_interface_loopback + +board=$(mpc83xx_board_name) + +case "$board" in +rb333) + ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2" + ;; + +*) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ;; +esac + +uci commit network + +exit 0 diff --git a/target/linux/mpc83xx/base-files/etc/uci-defaults/02_network b/target/linux/mpc83xx/base-files/etc/uci-defaults/02_network new file mode 100755 index 0000000..a3467aa --- /dev/null +++ b/target/linux/mpc83xx/base-files/etc/uci-defaults/02_network @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Copyright (C) 2012 OpenWrt.org +# + +[ -e /etc/config/network ] && exit 0 + +touch /etc/config/network + +. /lib/functions/uci-defaults.sh +. /lib/mpc83xx.sh + +ucidef_set_interface_loopback + +board=$(mpc83xx_board_name) + +case "$board" in +rb333) + ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2" + ;; + +*) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ;; +esac + +uci commit network + +exit 0 |