udev: use /dev if udev_root not defined in init.d script
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f870c626dc
commit
b08fd56ae8
@ -27,7 +27,7 @@ test -r $UDEV_CONFIG || exit 6
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Populating $udev_root using udev: "
|
||||
echo -n "Populating ${udev_root:-/dev} using udev: "
|
||||
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
|
||||
$UDEV_BIN -d || (echo "FAIL" && exit 1)
|
||||
echo "done"
|
||||
|
Loading…
Reference in New Issue
Block a user