[Nut-upsuser] Apple Mac slave

Charles Lepple clepple at gmail.com
Mon Jun 12 12:42:33 UTC 2017


On Jun 11, 2017, at 7:15 AM, Robbie van der Walle <rvanderwalle at gmail.com> wrote:
> 
> I see only a reboot. Not a shutdown.  But is this normal because shutdown -u -h +0 is used? 
> 
To be honest, I haven't experimented much with this, but I saw a normal shutdown/reboot when I just tried this from the command line (10.12):

reboot    ~                         Mon Jun 12 08:36 
shutdown  ~                         Mon Jun 12 08:35 
clepple   ttys007                   Sun Jun  4 21:52 - shutdown (7+10:43)

However, the "-u" flag did not seem to keep the Mac running for long after the shutdown (certainly seemed shorter than five minutes).

Maybe I can test this on another machine with the full NUT stack later.

Thanks for posting the osascript example - that looks useful!


More information about the Nut-upsuser mailing list