summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2021-01-14 18:05:23 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:05:23 +0000
commit4b91a30064ab583be97a336a1cab8dd15a2b29e0 (patch)
tree63ac9e03e6dd1e56e79536e6764423b4e0b4f706 /system/s6/s6.post-upgrade
parent3465fcf878a4f0e00a9378a4299eaa48a0af5bea (diff)
downloadpackages-4b91a30064ab583be97a336a1cab8dd15a2b29e0.tar.gz
packages-4b91a30064ab583be97a336a1cab8dd15a2b29e0.tar.bz2
packages-4b91a30064ab583be97a336a1cab8dd15a2b29e0.tar.xz
packages-4b91a30064ab583be97a336a1cab8dd15a2b29e0.zip
update to latest version of skarnet.org software
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