Re: [Apcupsd-users] APCUPSD for El Capitan
Brought to you by:
adk0212
|
From: Walter S. <wgs...@nc...> - 2015-11-21 17:00:25
|
Actually, the APC is connected to my unRaid server's USB port. APCUPSD is installed and working on the unRaid. Was planning on installing APCUPSD on my MacPro which is also powered from the same APC and then configure APCUPSD to control the MacPro via NIS of this is still possible. ______ Walter Sent from my iPhone > On Nov 21, 2015, at 10:28 AM, Kurtis Rader <kr...@sk...> wrote: > >> On Sat, Nov 21, 2015 at 4:50 AM, Walter Starks <wgs...@nc...> wrote: >> Thanks for the info. I don't suppose there is some sort of How-To for doing this? I had a look at the APCUPSD Owners Manual, but the instructions there are rather skimpy and assume a level of knowledge that I don't have. > > The main problem is that /sbin is now locked down by the new "rootless" security initiative. That is easy enough to deal with by hand editing the Darwin Makefile and running "./configure --sbindir=/usr/local/sbin". However, something else also changed in the kext (kernel extension) subsystem. If you've connected your UPS via USB then after rebooting apcupsd is not able to open the UPS device until you manually disconnect and reconnect the USB cable. > > You need to edit ./platforms/darwin/Makefile: > > 14,15c14,15 > < $(call INSTDATA,755,apcupsd-uninstall,/sbin) > < $(call INSTDATA,755,apcupsd-start,/sbin) > --- > > $(call INSTDATA,755,apcupsd-uninstall,/usr/local/sbin) > > $(call INSTDATA,755,apcupsd-start,/usr/local/sbin) > > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > ------------------------------------------------------------------------------ > _______________________________________________ > Apcupsd-users mailing list > Apc...@li... > https://lists.sourceforge.net/lists/listinfo/apcupsd-users |