summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:05:23 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:05:23 +0000
commit1d427323c0d25cd1a81674c2b124f93245bbb091 (patch)
treeedeb4aefc2e1079e53c3760c46b6d66d33a133e0 /system/s6/s6.post-upgrade
parent78e2028a74732ff8be7428fe6a7f7338e1481f04 (diff)
parent4b91a30064ab583be97a336a1cab8dd15a2b29e0 (diff)
downloadpackages-1d427323c0d25cd1a81674c2b124f93245bbb091.tar.gz
packages-1d427323c0d25cd1a81674c2b124f93245bbb091.tar.bz2
packages-1d427323c0d25cd1a81674c2b124f93245bbb091.tar.xz
packages-1d427323c0d25cd1a81674c2b124f93245bbb091.zip
Merge branch 'skaware.20210109' into 'master'
update to latest version of skarnet.org software See merge request adelie/packages!598
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r--system/s6/s6.post-upgrade8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade
index 26d289c27..3188f031d 100644
--- a/system/s6/s6.post-upgrade
+++ b/system/s6/s6.post-upgrade
@@ -5,13 +5,14 @@ oldv="$2"
rm -f /etc/runlevels/default/s6
-if test `apk version -t "$oldv" 2.8` = "<" ; then
+if test `apk version -t "$oldv" 2.9` = "<" ; then
cat <<EOF
*
* The s6 package has been upgraded. To complete the upgrade, you need to
-* restart the supervision tree - with the following command, run as root:
+* restart the supervision tree. If you are using sysvinit, please use the
+* following command, run as root:
*
* s6-svscanctl -t /run/service
*
@@ -19,6 +20,9 @@ if test `apk version -t "$oldv" 2.8` = "<" ; then
* terminals that are listed in the GETTYS variable in /etc/conf.d/gettys
* - so please save your work first.
*
+* If you are using s6-linux-init, which is the default, please just
+* reboot your machine as soon as is convenient for you.
+*
EOF
fi