1 # arg 1: the new package version
3 printf "Switch on IP forwarding: sysctl net.ipv4.ip_forward=1\n"
6 ## arg 1: the new package version
7 ## arg 2: the old package version
9 local _changelog_121="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.21.md#no-really-you-must-read-this-before-you-upgrade"
10 if [[ "$(vercmp "$2" "1.21.0-1")" -lt 0 ]]; then
11 printf "WARNING: Read important changelog notice:\n"
12 printf " %s\n" "${_changelog_121}"