move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
SVN-Revision: 12058
This commit is contained in:
parent
d98002bd59
commit
37c7e13a5f
2 changed files with 1 additions and 1 deletions
|
@ -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 &
|
||||
|
||||
|
|
|
@ -87,6 +87,5 @@ if [ -z "$INITRAMFS" ]; then
|
|||
|
||||
echo "- init -"
|
||||
|
||||
killall hotplug2
|
||||
exec /sbin/init
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue