summaryrefslogtreecommitdiff
path: root/pcr/zoneminder-libav/zoneminder
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-09 16:46:31 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-09 16:46:31 -0200
commit4e8266e93dad145bdcd07d356153937a365b9166 (patch)
treee779f119b94fa7663e8a475193c12a60ac943802 /pcr/zoneminder-libav/zoneminder
parent90e74e389fa33e42edd1d538e661033929522027 (diff)
parentf19d0f1aeaad720e0559769ce636b3283cf7b8c6 (diff)
downloadabslibre-4e8266e93dad145bdcd07d356153937a365b9166.tar.gz
abslibre-4e8266e93dad145bdcd07d356153937a365b9166.tar.bz2
abslibre-4e8266e93dad145bdcd07d356153937a365b9166.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/zoneminder-libav/zoneminder')
-rw-r--r--pcr/zoneminder-libav/zoneminder63
1 files changed, 0 insertions, 63 deletions
diff --git a/pcr/zoneminder-libav/zoneminder b/pcr/zoneminder-libav/zoneminder
deleted file mode 100644
index c4cbf4d3f..000000000
--- a/pcr/zoneminder-libav/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