diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-08 15:28:05 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-08 15:28:05 -0300 |
commit | 23edb0c2ef0d3c7736a53b61dbb62d5333d505a4 (patch) | |
tree | d496fac77912e0a92d2d0cdbca5411b041610d29 /pcr/zoneminder-lts/zoneminder | |
parent | 1e06c4bb94ff932781e9133d41b62420dc76a19e (diff) | |
parent | 7d30edc38ea37004622ab28dc39a6ce7e210f44f (diff) | |
download | abslibre-23edb0c2ef0d3c7736a53b61dbb62d5333d505a4.tar.gz abslibre-23edb0c2ef0d3c7736a53b61dbb62d5333d505a4.tar.bz2 abslibre-23edb0c2ef0d3c7736a53b61dbb62d5333d505a4.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/zoneminder-lts/zoneminder')
-rw-r--r-- | pcr/zoneminder-lts/zoneminder | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/pcr/zoneminder-lts/zoneminder b/pcr/zoneminder-lts/zoneminder deleted file mode 100644 index c4cbf4d3f..000000000 --- a/pcr/zoneminder-lts/zoneminder +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -daemon_name=zm - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting Zoneminder" - /usr/bin/zmfix -a - if /usr/bin/zmpkg.pl start >/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - stop) - stat_busy "Stopping Zoneminder" - if /usr/bin/zmpkg.pl stop >/dev/null ; then - rm_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - reload) - stat_busy "Reloading Zoneminder" - if /usr/bin/zmpkg.pl graceful >/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - restart) - stat_busy "Restarting Zoneminder" - if /usr/bin/zmpkg.pl restart >/dev/null ; then - add_daemon $daemon_name - stat_done - else - stat_fail - exit 1 - fi - ;; - - status) - stat_busy "Checking Zoneminder status"; - ck_status $daemon_name - ;; - - *) - echo "usage: $0 {start|stop|reload|restart|status}" -esac - -exit 0 |