only do hotplug2 init if hotplug2 is present
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Oct 2007 06:23:33 +0000 (06:23 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 23 Oct 2007 06:23:33 +0000 (06:23 +0000)
commit60084f42c73ad07a956162d471af2007d86201f6
treedbc18ad6ba6a9fb385c52feb629177220ab4cd21
parent957fd804f10d8ab53eb12f5d562dee3878cacae6
only do hotplug2 init if hotplug2 is present

The current /init script unconditionally does the initialisation for
hotplug2, including mounting a new /dev. If hotplug2 isn't present, we
end up with no device nodes.

This change only does the hotplug2 init if hotplug2 is present, but
always mounts /sys.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9411 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/base-files/init
This page took 0.024635 seconds and 4 git commands to generate.