aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.shutdown')
-rw-r--r--etc/rc.shutdown11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index 1a565c750f5c..3984f683827f 100644
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -124,6 +124,17 @@ case ${local_startup} in
;;
esac
+# Save IP Filter state tables
+
+case ${ipfs_enable} in
+[Yy][Ee][Ss])
+ echo -n 'Saving IP Filter state tables:'
+ eval ${ipfs_program:-/sbin/ipfs -W} ${ipfs_flags}
+ ;;
+esac
+
+echo .
+
# Insert other shutdown procedures here
echo '.'