summarylogtreecommitdiffstats
path: root/nftables.install
diff options
context:
space:
mode:
Diffstat (limited to 'nftables.install')
-rw-r--r--nftables.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/nftables.install b/nftables.install
new file mode 100644
index 000000000000..455245dd6a71
--- /dev/null
+++ b/nftables.install
@@ -0,0 +1,10 @@
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ (( $(vercmp "$2" '1:0.9.9-1') > 0 )) || cat <<EOF
+==> Stopping/restarting the nftables service does NOT flush the ruleset anymore.
+==> The nftables.conf file requires a delete/flush directive to be restarted.
+==> See examples in /usr/share/nftables/ and /usr/share/doc/nftables/examples.
+==> The nftables service reload has been removed as it is now equivalent to a restart.
+EOF
+}