Script for shutting down NAS
Posted: Wed Feb 01, 2017 6:38 am
Hi
Anyone have a script for shutting down a Nas or similar via telnet or ssh?
or can give me any pointers how to do it.
My Indigo is connected to a ups with apcupsd running.
The nas is connected to the same UPS.
What i would like to do us make a trigger ONbattery, and shut the nas gracefully down.
Then use WOL to start it up again when power is restored.
Regards
Asconasny
Anyone have a script for shutting down a Nas or similar via telnet or ssh?
or can give me any pointers how to do it.
My Indigo is connected to a ups with apcupsd running.
The nas is connected to the same UPS.
What i would like to do us make a trigger ONbattery, and shut the nas gracefully down.
Then use WOL to start it up again when power is restored.
Regards
Asconasny