fix 2.6 module build when compiling on a 2.4 host system
[openwrt.git] / openwrt / package / monit / files / monit.init
index d1d6ce6..50b18de 100644 (file)
@@ -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.