diff options
Diffstat (limited to 'testing/ipset/ipset.initd')
-rw-r--r-- | testing/ipset/ipset.initd | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/testing/ipset/ipset.initd b/testing/ipset/ipset.initd deleted file mode 100644 index 6e3294c8e..000000000 --- a/testing/ipset/ipset.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript -# Init script for ipset -# Copyright (C) 2012 Kaarle Ritvanen -# Licensed under the terms of the GPL2 - -depend() { - before iptables ip6tables -} - -start() { - if ls /etc/ipset.d/* &> /dev/null; then - ebegin "Loading firewall IP sets" - for f in /etc/ipset.d/*; do - /usr/sbin/ipset restore < $f - done - eend $? - fi -} - -stop() { - ebegin "Flushing firewall IP sets" - /usr/sbin/ipset destroy - eend $? -} |