summaryrefslogblamecommitdiff
path: root/system/s6/s6.post-upgrade
blob: 91459ad9f8a1ad0e600c2151cda9cf5961687f9c (plain) (tree)
1
2
3


                               












                                                                                           
#!/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