summaryrefslogtreecommitdiff
path: root/package/udev/S10udev
diff options
context:
space:
mode:
authorYegor Yefremov <yegor_sub1@visionsystems.de>2011-07-22 16:51:28 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-25 23:33:29 +0200
commitf0952fcdb614cb144f41b2b72f944f4236c5cb2c (patch)
treef5048dcf68b28c830ace90ee7d8c25af7660a183 /package/udev/S10udev
parentc663498aac2a82e73e8cc3d604a1637502a49e21 (diff)
udev: bump version and clean up
[Peter: fix Config.in deps, add host-pkg-config] Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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
;;
*)