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