diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-01 03:01:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-01 03:01:42 +0000 |
commit | 37c7e13a5fb8a81f8765c2798aa5c193e8c1c3e1 (patch) | |
tree | 3c0cf166a67d195c1a0974a7aab13e3f5d07a23d | |
parent | d98002bd592032d86894ea2170ed11e269f95c95 (diff) | |
download | mtk-20170518-37c7e13a5fb8a81f8765c2798aa5c193e8c1c3e1.zip mtk-20170518-37c7e13a5fb8a81f8765c2798aa5c193e8c1c3e1.tar.gz mtk-20170518-37c7e13a5fb8a81f8765c2798aa5c193e8c1c3e1.tar.bz2 |
move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
SVN-Revision: 12058
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 | ||||
-rwxr-xr-x | package/base-files/files/etc/preinit | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 57c034e..88dded6 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -48,6 +48,7 @@ start() { ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe + killall -q hotplug2 [ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \ --max-children 1 --no-coldplug & diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit index 3b2ab74..810558c 100755 --- a/package/base-files/files/etc/preinit +++ b/package/base-files/files/etc/preinit @@ -87,6 +87,5 @@ if [ -z "$INITRAMFS" ]; then echo "- init -" - killall hotplug2 exec /sbin/init fi |