only do hotplug2 init if hotplug2 is present
authorFelix Fietkau <nbd@openwrt.org>
Tue, 23 Oct 2007 06:23:33 +0000 (06:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 23 Oct 2007 06:23:33 +0000 (06:23 +0000)
commitef05c14f4af97543cb2640c0a9b5b9761c9e7642
treedbc18ad6ba6a9fb385c52feb629177220ab4cd21
parent81f12da0188bc7ddc1289672744c4e77e06c084e
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>
SVN-Revision: 9411
target/linux/generic-2.6/base-files/init