summaryrefslogblamecommitdiff
path: root/system/s6-linux-init/s6-linux-init.post-install
blob: 8e24f6d422f8e0b55f6add282cfe525e6f7ca204 (plain) (tree)























                                                                           
#!/bin/sh -e

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

cat <<EOF

*
* You installed the s6-linux-init package. If it's your first installation,
* please ignore this message. But if you just removed the sysvinit
* package in order to use s6-linux-init 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 s6-linux-init but you are still
* running sysvinit 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