diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-21 12:15:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 12:15:23 +0000 |
commit | 4b647cde776260b809da5254aea1038dd5d865a3 (patch) | |
tree | add800cc33bce8e10786dab9f58e6c4b2aaa1db4 /meta/packages/udev/files | |
parent | b3b8d9ed94ea6cc713a4a0831bc3d5693c44429e (diff) | |
download | openembedded-core-4b647cde776260b809da5254aea1038dd5d865a3.tar.gz openembedded-core-4b647cde776260b809da5254aea1038dd5d865a3.tar.bz2 openembedded-core-4b647cde776260b809da5254aea1038dd5d865a3.tar.xz openembedded-core-4b647cde776260b809da5254aea1038dd5d865a3.zip |
Various minor updates from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@919 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/udev/files')
-rwxr-xr-x | meta/packages/udev/files/init | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/packages/udev/files/init b/meta/packages/udev/files/init index 1022b40c8..8cbab188f 100755 --- a/meta/packages/udev/files/init +++ b/meta/packages/udev/files/init @@ -138,7 +138,7 @@ if [ ! -d /sys/class/ ]; then exit 1 fi -if [ ! -e /proc/sys/kernel/hotplug ]; then +if [ ! -e /proc/sys/kernel/hotplug ] && [ ! -e /sys/kernel/uevent_helper ]; then echo "udev requires hotplug support, not started." exit 1 fi @@ -161,7 +161,11 @@ case "$1" in warn_if_interactive #echo /sbin/udevsend > /proc/sys/kernel/hotplug - echo "" > /proc/sys/kernel/hotplug + if [ -e /sys/kernel/uevent_helper ] ; then + echo "" > /sys/kernel/uevent_helper + else + echo "" > /proc/sys/kernel/hotplug + fi udevsend if [ "$UDEV_DISABLED" = "yes" ]; then echo "udev disabled on the kernel command line, not started." |