On Jun 11, 2017, at 7:15 AM, Robbie van der Walle <rvanderwa...@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! _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser