summaryrefslogtreecommitdiff
path: root/package/udev
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-07-27 23:51:57 +1000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 21:18:06 +0200
commitb08fd56ae82ad2d003512e6128ae60016d0186df (patch)
tree564d1c8f19c5e76988a8963e2768d65828c45e10 /package/udev
parentf870c626dc128955be6a27b800465ab38059eb97 (diff)
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>
Diffstat (limited to 'package/udev')
-rwxr-xr-xpackage/udev/S10udev2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/udev/S10udev b/package/udev/S10udev
index 13dfdf56e..7bb430923 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"