summaryrefslogtreecommitdiffstats
path: root/projectroot/etc/init.d/udev
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/etc/init.d/udev')
-rw-r--r--projectroot/etc/init.d/udev4
1 files changed, 3 insertions, 1 deletions
diff --git a/projectroot/etc/init.d/udev b/projectroot/etc/init.d/udev
index 1020b40c7..5c1bf42ab 100644
--- a/projectroot/etc/init.d/udev
+++ b/projectroot/etc/init.d/udev
@@ -50,7 +50,9 @@ start)
# udev handles uevents itself, so we don't need to have
# the kernel call out to any binary in response to them
- echo > /proc/sys/kernel/hotplug
+ if [ -e /sys/kernel/uevent_helper ]; then
+ echo > /proc/sys/kernel/hotplug
+ fi
echo "creating static nodes"
make_extra_nodes