summaryrefslogtreecommitdiff
path: root/debian/fswarn.postinst
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2013-12-01 20:20:18 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2013-12-01 20:20:18 -0800
commit7f1e5885e19830de5337ad505bc218d16ec0374a (patch)
treeb7df8d4e102d1bbb63a5563d8c53828913839b1e /debian/fswarn.postinst
downloadiptables-rrdtool-7f1e5885e19830de5337ad505bc218d16ec0374a.tar.gz
iptables-rrdtool-7f1e5885e19830de5337ad505bc218d16ec0374a.zip
Initial commit
Diffstat (limited to 'debian/fswarn.postinst')
-rw-r--r--debian/fswarn.postinst18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/fswarn.postinst b/debian/fswarn.postinst
new file mode 100644
index 0000000..a22b368
--- /dev/null
+++ b/debian/fswarn.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+ configure)
+
+ if [ "$2" = "" ]; then
+ mkdir /var/lib/iptables-rrdtool || true
+ fi
+
+ ;;
+
+ *)
+ ;;
+
+esac