This is moved
authorRalph Ronnquist <rrq@rrq.au>
Mon, 17 Feb 2025 02:59:08 +0000 (13:59 +1100)
committerRalph Ronnquist <rrq@rrq.au>
Mon, 17 Feb 2025 02:59:08 +0000 (13:59 +1100)
bin/nfblockerctl [deleted file]

diff --git a/bin/nfblockerctl b/bin/nfblockerctl
deleted file mode 100755 (executable)
index aed8d22..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# Control script for manual use of nfblocker.
-
-do_start() {
-    iptables -I OUTPUT -p tcp -j NFQUEUE --queue-num 99
-    nfblocker /etc/nfblocker/blocked/*.acl &
-}
-
-do_stop() {
-    iptables -D OUTPUT -p tcp -j NFQUEUE --queue-num 99
-    pkill nfblocker
-}
-
-case "$1" in
-    start) do_start ;;
-    reload) do_stop ; do_start ;;
-    stop) do_stop ;;
-    *) echo "Use start, stop or reload" >&2 ;;
-esac