summaryrefslogtreecommitdiff
path: root/package/shorewall-common/ipkg/shorewall-common.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'package/shorewall-common/ipkg/shorewall-common.prerm')
-rw-r--r--package/shorewall-common/ipkg/shorewall-common.prerm8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/shorewall-common/ipkg/shorewall-common.prerm b/package/shorewall-common/ipkg/shorewall-common.prerm
new file mode 100644
index 000000000..805b69980
--- /dev/null
+++ b/package/shorewall-common/ipkg/shorewall-common.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# commented out: we never change this information ourselves
+# plus: this will destroy /etc/rc.conf entirely.
+# read some info about shell redirections if you don’t know why.
+#cat $IPKG_INSTROOT/etc/rc.conf | grep -v "shorewall" >$IPKG_INSTROOT/etc/rc.conf
+
+rm -rf /usr/share/shorewall/runtime