summarylogtreecommitdiffstats
path: root/nftables.install
diff options
context:
space:
mode:
authorYour Name2022-09-30 18:50:48 +0800
committerYour Name2022-09-30 18:50:48 +0800
commit2617b58f34cf4199a2563c7838fbb3974d98c846 (patch)
tree6aab12bf2b4490f90f139e874b8c9d72bd351925 /nftables.install
downloadaur-2617b58f34cf4199a2563c7838fbb3974d98c846.tar.gz
Pack nftables-fullcone
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
+}