Commit b08fd56a authored by Jonathan Liu's avatar Jonathan Liu Committed by Thomas Petazzoni
Browse files

udev: use /dev if udev_root not defined in init.d script

parent f870c626
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"