Diff for scripts/shell/runit-startup-scripts/etc/runit/ctrlaltdel between version 1.1 and 1.2
| version 1.1, 2005/05/16 13:20:32 |
version 1.2, 2006/02/17 01:12:58 |
|
|
| #!/bin/sh |
#!/bin/sh |
| |
|
| PATH=/sbin:/bin:/usr/sbin:/usr/bin |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
| MSG="System is going down in 5 seconds..." |
MSG="System is going down in 14 seconds..." |
| |
|
| #echo 'disabled.' ; exit |
#echo 'disabled.' ; exit |
| touch /etc/runit/stopit |
touch /etc/runit/stopit |
| chmod 0100 /etc/runit/stopit && \ |
chmod 0100 /etc/runit/stopit && \ |
| echo "$MSG" | wall |
echo "$MSG" | wall |
| sleep 5 |
exec sleep 14 |
Platon Group <platon@platon.org> http://platon.org/
|
|