<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">What I wonder if the shutdown is done proper. Does the shutdown command use umount to prevent disk corruption?<br class=""></blockquote><br class="">Yes, it prevents filesystem corruption, but I am not sure if it bothers to save the desktop state.<br class=""><br class="">You can check the "last" logs to see if it was cleanly shut down:<br class=""><br class="">$ last shutdown reboot<br class="">reboot    ~                         Sun May 21 19:04 <br class="">shutdown  ~                         Sun May 21 19:03 <br class="">...<br class=""><br class="">If you see a "reboot" without a corresponding "shutdown" before it, the system did not shut down properly.<br class=""></blockquote><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">reboot    ~                         Sun Jun 11 12:40 </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>   ttys002                   Sun Jun 11 12:21 - crash  (00:18)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>    ttys001                   Sun Jun 11 12:21 - crash  (00:18)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>    ttys000                   Sun Jun 11 12:21 - crash  (00:18)</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I see only a reboot. Not a shutdown.  But is this normal because shutdown -u -h +0 is used? </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><blockquote type="cite" class="">I also have to find a solution for starting up upsmon when the Mac starts<br class=""></blockquote><br class="">I never finished the integration for this branch, but...<br class=""><br class=""><a href="https://github.com/networkupstools/nut/compare/osx_launchd" class="">https://github.com/networkupstools/nut/compare/osx_launchd</a><br class=""><br class="">You can save off the Raw file, and replace @SBINDIR@ with /sw/sbin or whatever:<br class=""><br class=""><a href="https://github.com/networkupstools/nut/blob/161efce6c6fc32f205817ca71f8963af253cec59/scripts/launchd/org.networkupstools.upsmon.plist.in" class="">https://github.com/networkupstools/nut/blob/161efce6c6fc32f205817ca71f8963af253cec59/scripts/launchd/org.networkupstools.upsmon.plist.in</a><br class=""></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I will look in to it. </div><br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">and also still open is the notification on the Mac. <br class=""></blockquote><br class="">I used to have a script that would send UDP notifications to Growl, but that was before OS X notifications made Growl mostly obsolete. I can dig that up if it is of interest.</blockquote></div><div class=""><br class=""></div><div class="">No thanks, I can use osascript to notify. </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Kind Regards,</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Rob</div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div></div><br class=""></body></html>