Bug #440
No Wall Message on poweroff, reboot, etc.
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - |
Description
The wall message on shutdown only happens if shutdown is called directly. Other methods of shutdown/reboot (poweroff, halt, reboot, etc.) do not result in a wall message.
For machines that are not on 24/7 (ex. mythwelcome users), it is kind of annoying to have it silently shutdown when logged in remotely. It appears like a connectivity issue rather than a shutdown/reboot.
The fixes are
/sbin/reboot-runit:
#!/bin/sh
wall "System will reboot NOW"
runit-init 6
/sbin/halt-runit:
#!/bin/sh
wall "System will shutdown NOW"
runit-init 0