From: Jonathan Liu Date: Fri, 27 Jul 2012 13:51:57 +0000 (+1000) Subject: udev: use /dev if udev_root not defined in init.d script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b08fd56ae82ad2d003512e6128ae60016d0186df;p=buildroot.git udev: use /dev if udev_root not defined in init.d script Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- diff --git a/package/udev/S10udev b/package/udev/S10udev index 13dfdf56e3..7bb430923d 100755 --- a/package/udev/S10udev +++ b/package/udev/S10udev @@ -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"