Skip to content

Commit

Permalink
ctrlaltdel: ahesford
Browse files Browse the repository at this point in the history
  • Loading branch information
ericonr committed Jul 18, 2020
1 parent 5584f35 commit 2519c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctrlaltdel
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ PATH=/usr/bin:/usr/sbin
MSG="System is going down..."

# We check for this file after receiving a SIGCONT to move to stage3
chmod 100 /run/runit/stopit
install -m0100 /run/runit/stopit

# We check for this file in stage3 to halt or reboot
chmod 100 /run/runit/reboot
install -m0100 /run/runit/reboot

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

0 comments on commit 2519c29

Please sign in to comment.