On Mar 19, 2013, at 9:44 AM, Fred Smith wrote:
just to be sure I'm clear: the shutdown command appears to be sent to windows, as I desire. then instead of honoring the "+5" in the local shutdown command it shuts down immediately.
but if I just run the identical script from a commandline it does exactly what I think it should: (1) tells windows to shut down then (2) waits 5 mins before shutting down Linux.
---- sounds as if there is another daemon that is processing the signal from the UPS system and initiating the power down rendering the 5 minute wait in your script moot.