Split grml-scripts into grml-scripts and grml-scripts-core
[grml-scripts-core.git] / usr_sbin / grml-iptstate
diff --git a/usr_sbin/grml-iptstate b/usr_sbin/grml-iptstate
deleted file mode 100755 (executable)
index b9e9a2f..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-# Filename:      grml-iptstate
-# Purpose:       wrapper around iptstate (top-like display of IP Tables state table entries)
-# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports:   see http://grml.org/bugs/
-# License:       This file is licensed under the GPL v2.
-################################################################################
-
-. /etc/grml/script-functions
-. /etc/grml/lsb-functions
-check4progs iptstate || exit 1
-
-if grep -q '_conntrack' /proc/modules ; then
-   iptstate
-else
-   einfo "iptstate is a top-like display of IP Tables state table entries."
-   echo
-   ewarn "Module ip_conntrack is not present. Can not start iptstate therefore."
-   eindent
-     einfon "Do you want to load it and invoke iptstate afterwards? [YES|no] "
-     read a
-     if [ "$a" = YES -o "$a" = yes -o "$a" = '' -o "$a" = y -o "$a" = Y ] ; then
-        modprobe ip_conntrack ; RC=$?
-       eend $RC
-       [ "$RC" = 0 ] && exec iptstate
-     else
-        echo "Aborting as requested."
-        exit 1
-     fi
-fi
-
-## END OF FILE #################################################################