summarylogtreecommitdiffstats
path: root/nftables.install
blob: 455245dd6a71cd32908398f91604cb625515b40d (plain)
1
2
3
4
5
6
7
8
9
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
}