From b08fd56ae82ad2d003512e6128ae60016d0186df Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Fri, 27 Jul 2012 23:51:57 +1000 Subject: [PATCH] udev: use /dev if udev_root not defined in init.d script Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/udev/S10udev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2