chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add restart target to the etc/init.d/udev script
[elogind.git]
/
etc
/
init.d
/
udev
diff --git
a/etc/init.d/udev
b/etc/init.d/udev
index 5c09afd205c6cde35e798d8a961d8294b849f4e6..36ef2dafda2231b73d1379f6a4cb8264c4b369a2 100644
(file)
--- 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
;;
echo "the udev device node directory does not exist"
fi
;;
- restart|reload)
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ reload)
# nothing to do here
;;
*)
# nothing to do here
;;
*)
- echo "Usage: $0 {start|stop|status}"
+ echo "Usage: $0 {start|stop|status
|restart
}"
exit 1
esac
exit 1
esac