diff options
author | Your Name | 2022-09-30 18:50:48 +0800 |
---|---|---|
committer | Your Name | 2022-09-30 18:50:48 +0800 |
commit | 2617b58f34cf4199a2563c7838fbb3974d98c846 (patch) | |
tree | 6aab12bf2b4490f90f139e874b8c9d72bd351925 /nftables.install | |
download | aur-2617b58f34cf4199a2563c7838fbb3974d98c846.tar.gz |
Pack nftables-fullcone
Diffstat (limited to 'nftables.install')
-rw-r--r-- | nftables.install | 10 |
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 +} |