diff options
author | Jonathan Liu <net147@gmail.com> | 2012-07-27 23:51:57 +1000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-07-30 21:18:06 +0200 |
commit | b08fd56ae82ad2d003512e6128ae60016d0186df (patch) | |
tree | 564d1c8f19c5e76988a8963e2768d65828c45e10 /package/udev | |
parent | f870c626dc128955be6a27b800465ab38059eb97 (diff) | |
download | buildroot-novena-b08fd56ae82ad2d003512e6128ae60016d0186df.tar.gz buildroot-novena-b08fd56ae82ad2d003512e6128ae60016d0186df.zip |
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-x | package/udev/S10udev | 2 |
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" |