summaryrefslogblamecommitdiff
path: root/system/sysvinit/sysvinit.post-install
blob: 4548041d9825c02b8608b8606c889c142fc04742 (plain) (tree)
























                                                                       
#!/bin/sh -e

newv="$1"
oldv="$2"

cat <<EOF

*
* You installed the sysvinit package. If it's your first installation,
* please ignore this message. But if you just removed the s6-linux-init
* package in order to use sysvinit instead, please read on.
* 
* In order to complete the switch, you need to reboot your machine. But
* beware: just for this time, the usual shutdown commands won't work,
* because they are designed to work with sysvinit but you are still
* running s6-linux-init until you reboot. So, for your next reboot (and
* only this one), the command you will need to run (as root, FROM A
* CONSOLE TTY - not an xterm, not a network connection) is:
*
*    /bin/sh /usr/share/s6-linux-init-common/reboot.sh
*
* Please save your work and perform that reboot as soon as you can.
*

EOF