diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 05:07:26 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 05:07:26 -0300 |
commit | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch) | |
tree | d6f6cf5d6939e1f030a48d3711d3606570afd08f /social/miniupnpd/miniupnpd.init | |
parent | ed9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff) | |
download | abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.gz abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.bz2 abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.zip |
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'social/miniupnpd/miniupnpd.init')
-rw-r--r-- | social/miniupnpd/miniupnpd.init | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/social/miniupnpd/miniupnpd.init b/social/miniupnpd/miniupnpd.init deleted file mode 100644 index e09ac3ade..000000000 --- a/social/miniupnpd/miniupnpd.init +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -MINIUPNPD=/usr/sbin/miniupnpd -ARGS='-f /etc/miniupnpd/miniupnpd.conf' -PIDFILE='/var/run/miniupnpd.pid' -IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh -IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh - -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting MiniUPNPd" - - if ! pidof -o %PPID $MINIUPNPD &> /dev/null; then - rm -f "$PIDFILE" - fi - - $IPTABLES_CREATE > /dev/null 2>&1 - - PID="$(cat "$PIDFILE" 2> /dev/null)" - - if [ -z "$PID" ] && $MINIUPNPD $ARGS; then - add_daemon miniupnpd - stat_done - else - stat_fail - fi - ;; - stop) - stat_busy "Stopping MiniUPNPd" - PID="$(cat "$PIDFILE" 2> /dev/null)" - if [ -n "$PID" ] && kill "$PID" &> /dev/null; then - rm -f "$PIDFILE" - rm_daemon miniupnpd - stat_done - else - stat_fail - fi - ;; - restart) - "$0" stop - sleep 1 - "$0" start - ;; - *) - echo "Usage: /etc/rc.d/miniupnpd {start|stop|restart}" - exit 2 - ;; -esac -exit 0 |