git://git.onelab.eu
/
fprobe-ulog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Setting tag fprobe-ulog-1.1.4-3
[fprobe-ulog.git]
/
fprobe-initscript
diff --git
a/fprobe-initscript
b/fprobe-initscript
index
17dc144
..
38b33f7
100644
(file)
--- a/
fprobe-initscript
+++ b/
fprobe-initscript
@@
-63,6
+63,15
@@
case "$1" in
echo 'not running' && exit 1
;;
+ condrestart)
+ if check_status; then
+ $0 restart
+ RETVAL=$?
+ else
+ RETVAL=0
+ fi
+ ;;
+
*)
echo "Usage: $0 {start|stop|restart|status}"
RETVAL=1