diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 10:16:50 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 10:16:50 -0500 |
commit | bc321c1598cda8ba08c7de864d8ad979561a992b (patch) | |
tree | 3e54f52d0512d370b65b1038d0410190184a7763 /pcr/inadyn-opendns/inadyn.rc-script | |
parent | ee9535b6f6ca5d1655e608ca2344f4a59483f357 (diff) | |
download | abslibre-bc321c1598cda8ba08c7de864d8ad979561a992b.tar.gz abslibre-bc321c1598cda8ba08c7de864d8ad979561a992b.tar.bz2 abslibre-bc321c1598cda8ba08c7de864d8ad979561a992b.zip |
Removing inadyn-opendns: source code does not exist
Diffstat (limited to 'pcr/inadyn-opendns/inadyn.rc-script')
-rw-r--r-- | pcr/inadyn-opendns/inadyn.rc-script | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pcr/inadyn-opendns/inadyn.rc-script b/pcr/inadyn-opendns/inadyn.rc-script deleted file mode 100644 index 2ee29d59e..000000000 --- a/pcr/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 - |