- Make shutdown default to -o on the initrd because oinit doesn't handle signals like its big sibling.
- Install wall(1) and create a dummy /var/run/utmpx for it.
- Link /usr/bin and /usr/sbin to /bin, too. wall(1) is called as /usr/bin/wall from shutdown.
8506a14b58 initrd: Make shutdown work on the initrd image.
initrd/etc/rc | 1 +
initrd/mkinitrd.sh | 7 +++++--
initrd/rescue/Makefile | 1 +
sbin/shutdown/shutdown.c | 4 ++++
4 files changed, 11 insertions(+), 2 deletions(-)
Upstream: gitweb.dragonflybsd.org