diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
commit | d73f07b0acf8bae623e1e112a7cb3744a84a92ee (patch) | |
tree | 87a2b353ea5229bbe309ea9db9d43bf24e2a6fd8 /social/inadyn-opendns/inadyn.rc-script | |
parent | c001329b017288676a28aa6078bf16ad42e318e9 (diff) | |
parent | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (diff) | |
download | abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.gz abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.bz2 abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'social/inadyn-opendns/inadyn.rc-script')
-rw-r--r-- | social/inadyn-opendns/inadyn.rc-script | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/social/inadyn-opendns/inadyn.rc-script b/social/inadyn-opendns/inadyn.rc-script deleted file mode 100644 index 2ee29d59e..000000000 --- a/social/inadyn-opendns/inadyn.rc-script +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/inadyn` -case "$1" in - start) - stat_busy "Starting INADYN Daemon" - [ -z "$PID" ] && /usr/sbin/inadyn --background --input_file /etc/inadyn.conf >>/var/log/inadyn 2>&1 - if [ $? -gt 0 ]; then - stat_fail - else - PID=`pidof -o %PPID /usr/sbin/inadyn` - echo $PID >/var/run/inadyn.pid - add_daemon inadyn - stat_done - fi - ;; - stop) - stat_busy "Stopping INADYN Daemon" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon inadyn - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - |