system script

This commit is contained in:
Jack L. Frost 2014-08-16 16:04:40 +04:00
parent 14ac15e683
commit 096b270db0

13
init.d/system Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env watchman
unset start stop restart reload status
reboot() {
echo "Rebooting..."
kill -2 1
}
poweroff() {
echo "Powering off..."
kill -10 1
}