[PATCH] Add restart target to the etc/init.d/udev script

Change made by Rolf Eike Beer <eike-hotplug@sf-tec.de>
This commit is contained in:
greg@kroah.com 2003-12-15 22:25:03 -08:00 committed by Greg KH
parent dbc9b3f3a2
commit 5a3ee97760
1 changed files with 6 additions and 2 deletions

View File

@ -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