blob: 89c13667d004df44eb05f3a7b659604aaba0a33d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
ver_old=$2
if [ "$(apk version -t "$ver_old" '1.8.9-r4')" = '<' ]; then
cat >&2 <<-EOF
*
* the "iptables" commands now point to xtables-nft-multi
* instead of xtables-legacy-multi. this means that by default,
* the kernel nftables backend is used instead of the iptables one.
*
* note that to keep working with your current loaded ruleset (if you want to
* make changes before rebooting, or save your rules), you have to install
* iptables-legacy. to save the rules, use iptables-legacy-save/ip6tables-legacy-save
* from that package (to where the rules are normally saved, IPTABLES_SAVE from
* /etc/conf.d/iptables / /etc/conf.d/ip6tables)
*
* because mixing backends is not supported, you should reboot your system.
*
EOF
fi
|