summaryrefslogtreecommitdiffstats
path: root/arno-iptables-firewall/arno-iptables-firewall.script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
commitc6000c9d9949b3326fb82f02431899ab6774b960 (patch)
tree2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /arno-iptables-firewall/arno-iptables-firewall.script
parent453f0f12918af35bd8e1e5f049841360f37d62e4 (diff)
downloadaur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz
aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz
big cleanup
Diffstat (limited to 'arno-iptables-firewall/arno-iptables-firewall.script')
-rw-r--r--arno-iptables-firewall/arno-iptables-firewall.script63
1 files changed, 0 insertions, 63 deletions
diff --git a/arno-iptables-firewall/arno-iptables-firewall.script b/arno-iptables-firewall/arno-iptables-firewall.script
deleted file mode 100644
index 9607c0a..0000000
--- a/arno-iptables-firewall/arno-iptables-firewall.script
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Arno's Iptables Firewall Daemon"
- /usr/sbin/arno-iptables-firewall start &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon arno-iptables-firewall
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Arno's Iptables Firewall Daemon"
- /usr/sbin/arno-iptables-firewall stop &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon arno-iptables-firewall
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- status)
- /usr/sbin/arno-iptables-firewall status
- ;;
- debug_start)
- stat_busy "Starting Arno's Iptables Firewall Daemon"
- /usr/sbin/arno-iptables-firewall start
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon arno-iptables-firewall
- stat_done
- fi
- ;;
- debug_stop)
- stat_busy "Stopping Arno's Iptables Firewall Daemon"
- /usr/sbin/arno-iptables-firewall stop
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon arno-iptables-firewall
- stat_done
- fi
- ;;
- debug_restart)
- $0 debug_stop
- sleep 3
- $0 debug_start
- ;;
- *)
- echo "usage: $0 {start|stop|restart|status|debug_start|debug_stop|debug_restart}"
-esac