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
master
Felix Fietkau 2008-08-01 03:01:42 +00:00
parent adc5b4a36f
commit 73ba73fc41
2 changed files with 1 additions and 1 deletions

View File

@ -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 &

View File

@ -87,6 +87,5 @@ if [ -z "$INITRAMFS" ]; then
echo "- init -"
killall hotplug2
exec /sbin/init
fi