summary refs log tree commit diff
path: root/ctrlaltdel
blob: 7738067ff4e8cc9eb8c72fe1ff3ead3234f8a7a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

PATH=/usr/bin:/usr/sbin
MSG="System is going down..."

# We check for this file in stage3 to halt or reboot
touch /run/runit/reboot

# Proceed with shutdown process
echo "$MSG" | wall