forked from Spark/ssm-services
14 lines
162 B
Plaintext
14 lines
162 B
Plaintext
|
#!/usr/bin/env watchman
|
||
|
|
||
|
unset start stop restart reload status
|
||
|
|
||
|
reboot() {
|
||
|
echo "Rebooting..."
|
||
|
kill -2 1
|
||
|
}
|
||
|
|
||
|
poweroff() {
|
||
|
echo "Powering off..."
|
||
|
kill -10 1
|
||
|
}
|