diff options
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r-- | system/s6/s6.post-upgrade | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade index 54144895b..91459ad9f 100644 --- a/system/s6/s6.post-upgrade +++ b/system/s6/s6.post-upgrade @@ -1,3 +1,16 @@ #!/bin/sh -e rm -f /etc/runlevels/default/s6 + +vnew="$1" +vold="$2" + +if test `apk version -t $vnew 2.13` != '<' && test `apk version -t $vold 2.13` = '<' ; then + echo + echo '***' + echo 'The s6 package has undergone an ABI change.' + echo 'Please reboot at your earliest convenience. Commands such as s6-svstat' + echo 'may not work until you do so.' + echo '***' + echo +fi |