diff options
author | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-18 14:18:56 +0000 |
---|---|---|
committer | ejka <ejka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-18 14:18:56 +0000 |
commit | 407b204ecd427a257a57bd53b245732ee71bab37 (patch) | |
tree | 3d02e6fd304a8e04f14fb918073d74907c709e58 /target/linux/ar7-2.4/base-files/default/etc/preinit.arch | |
parent | 312e4176e0e4616589d6244f0b604272a0ccb9cb (diff) |
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
Diffstat (limited to 'target/linux/ar7-2.4/base-files/default/etc/preinit.arch')
-rwxr-xr-x | target/linux/ar7-2.4/base-files/default/etc/preinit.arch | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar7-2.4/base-files/default/etc/preinit.arch b/target/linux/ar7-2.4/base-files/default/etc/preinit.arch new file mode 100755 index 000000000..965a1af61 --- /dev/null +++ b/target/linux/ar7-2.4/base-files/default/etc/preinit.arch @@ -0,0 +1,5 @@ +#!/bin/sh +[ -z "$FAILSAFE" ] || { + echo /bin/true > /proc/sys/kernel/hotplug + telnetd -l /bin/login <> /dev/null 2>&1 +} |