1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ar7-2.4 cleanup

- Switch to generic init scripts (/sbin/mount_root, /bin/firstboot, 
   /etc/preinit), failsafe part moved to /etc/preinit.arch.
   This should fix #1449 with an added benefit of using mini_fo.
 - Switch to generic /etc/config/network.
 - ar7 flashmap: change "OpenWrt" to "rootfs_data", move ar7_mtd_cleanup
   out of .exit.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6604 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ejka
2007-03-18 14:18:56 +00:00
parent 312e4176e0
commit 407b204ecd
6 changed files with 8 additions and 145 deletions

View File

@@ -1,14 +0,0 @@
# Network configuration file
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

View File

@@ -1,11 +0,0 @@
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount none /proc -t proc
[ -f /etc/preinit.arch ] && . /etc/preinit.arch
[ -z "$FAILSAFE" ] || {
echo /bin/true > /proc/sys/kernel/hotplug
telnetd -l /bin/login <> /dev/null 2>&1
}
mount_root ${FAILSAFE:+failsafe}
exec /sbin/init

View File

@@ -0,0 +1,5 @@
#!/bin/sh
[ -z "$FAILSAFE" ] || {
echo /bin/true > /proc/sys/kernel/hotplug
telnetd -l /bin/login <> /dev/null 2>&1
}