summaryrefslogtreecommitdiff
path: root/etc/init.d/udev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/udev')
-rw-r--r--etc/init.d/udev8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/init.d/udev b/etc/init.d/udev
index 5c09afd205..36ef2dafda 100644
--- a/etc/init.d/udev
+++ b/etc/init.d/udev
@@ -64,11 +64,15 @@ case "$1" in
echo "the udev device node directory does not exist"
fi
;;
- restart|reload)
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ reload)
# nothing to do here
;;
*)
- echo "Usage: $0 {start|stop|status}"
+ echo "Usage: $0 {start|stop|status|restart}"
exit 1
esac