mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
[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:
parent
dbc9b3f3a2
commit
5a3ee97760
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user