[ create a new paste ] login | about

Link: http://codepad.org/xMnyL9JX    [ raw code | fork ]

Plain Text, pasted on Feb 2:
1
2
3
4
5
6
7
8
9
10
11
cat /etc/runit/ctrlaltdel 
#!/bin/sh

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

# echo 'disabled.' ; exit
touch /var/run/runit/stopit
chmod 100 /var/run/runit/stopit && echo "$MSG" | wall
touch /var/run/runit/reboot; chmod 100 /var/run/runit/reboot;
/bin/sleep 14


Create a new paste based on this one


Comments: