summaryrefslogtreecommitdiffstats
path: root/package/udev/S10udev
diff options
context:
space:
mode:
Diffstat (limited to 'package/udev/S10udev')
-rwxr-xr-xpackage/udev/S10udev6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/udev/S10udev b/package/udev/S10udev
index 0d2a23afa..29eb1075c 100755
--- a/package/udev/S10udev
+++ b/package/udev/S10udev
@@ -19,8 +19,6 @@
# Check for missing binaries
UDEV_BIN=/sbin/udevd
test -x $UDEV_BIN || exit 5
-UDEVSTART_BIN=/sbin/udevstart
-test -x $UDEVSTART_BIN || exit 5
# Check for config file and read it
UDEV_CONFIG=/etc/udev/udev.conf
@@ -29,16 +27,14 @@ test -r $UDEV_CONFIG || exit 6
case "$1" in
start)
- mknod -m 0666 /dev/null c 1 3
echo -n "Populating $udev_root using udev: "
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
$UDEV_BIN -d || (echo "FAIL" && exit 1)
- $UDEVSTART_BIN || (echo "FAIL" && exit 1)
echo "done"
;;
stop)
# Stop execution of events
- udevcontrol stop_exec_queue
+ udevadm control --stop_exec_queue
killall udevd
;;
*)