projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix 2.6 module build when compiling on a 2.4 host system
[openwrt.git]
/
openwrt
/
package
/
monit
/
files
/
monit.init
diff --git
a/openwrt/package/monit/files/monit.init
b/openwrt/package/monit/files/monit.init
index
d1d6ce6
..
50b18de
100644
(file)
--- a/
openwrt/package/monit/files/monit.init
+++ b/
openwrt/package/monit/files/monit.init
@@
-14,8
+14,12
@@
case $1 in
stop)
[ -f $PID_F ] && kill $(cat $PID_F)
;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
*)
- echo "usage: $0 (start|stop)"
+ echo "usage: $0 (start|stop
|restart
)"
exit 1
esac
exit $?
This page took
0.02433 seconds
and
4
git commands to generate.