File: ctrlaltdel

package info (click to toggle)
runit-run 0.5.0
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 112 kB
  • ctags: 3
  • sloc: sh: 134; makefile: 49
file content (10 lines) | stat: -rwxr-xr-x 204 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

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

#echo 'disabled.' ; exit
touch /etc/runit/stopit
chmod 0100 /etc/runit/stopit && \
  echo "$MSG" | wall
sleep 14