aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-01 03:01:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-01 03:01:42 +0000
commit73ba73fc417f12d70ed840a18ea7056b1305929f (patch)
tree4c66d77ba531feca2863b339c7cca691f71ac29a /package/base-files/files/etc/init.d/boot
parentadc5b4a36f5f9ac32e4e5beee3fbc322d7633876 (diff)
downloadupstream-73ba73fc417f12d70ed840a18ea7056b1305929f.tar.gz
upstream-73ba73fc417f12d70ed840a18ea7056b1305929f.tar.bz2
upstream-73ba73fc417f12d70ed840a18ea7056b1305929f.zip
move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 57c034eb48..88dded646c 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 &