[Nut-upsuser] nut on Mac OS X. Where to put upsdrvctl shutdown?

Ted Bardusch nups at bjmoose.com
Sun Apr 2 06:12:55 UTC 2006


I've got 2.0.3 running on my XServe under 10.4.5, but I had to put a  
serial adapter on the USB port instead of using a direct USB  
connection.  With the direct USB connection, the OS X native UPS  
solution took precedence.

Anyone know how to prevent the OS X UPS handler from taking over on a  
USB connection?

PS - on my 10.4 install I put the startup in rc.local as the Startup  
items (even with it set to Last) didn't have enough things going to  
have it work.


On Mar 16, 2006, at 4:29 AM, Charles Lepple wrote:

> On 3/15/06, Jason Ferrara <jason at discordia.org> wrote:
>> I'm not currently using a StartupItem, but I could.
>
> Are you starting it from the rc file?
>
>> But then the question is how do I make sure that at shutdown time  
>> its the last StartupItem to get run, and that when it is run the  
>> filesystems are synced and read only.
>
> Good question - I don't know if you even get that level of control  
> with launchd.
>
>> I'm using an APC SmartUPS 3000. The reason I'm using nut instead  
>> of the built in OS X stuff is that I need to shutdown a few othr  
>> machines (mac and linux) that also get power from the UPS.
>
> The meta-driver idea that I was describing could work here - after
> catching the low-battery event, the driver could stall the OS from
> shutting down until the slave systems were notified.
>
> --
> - Charles Lepple
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser




More information about the Nut-upsuser mailing list