system script
This commit is contained in:
parent
14ac15e683
commit
096b270db0
13
init.d/system
Executable file
13
init.d/system
Executable 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user