summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
blob: 91459ad9f8a1ad0e600c2151cda9cf5961687f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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