slackbuilds_ponce/system/apcupsd
dsomero 5d95a34604 system/apcupsd: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-09-30 20:01:09 -05:00
..
apcupsd.info system/apcupsd: Updated for version 3.14.10. 2012-09-07 21:37:29 -05:00
apcupsd.logrotate system/apcupsd: Updated for version 3.14.5 2010-05-12 17:44:57 +02:00
apcupsd.SlackBuild system/apcupsd: Fixed (Handle desktop file) 2012-09-30 20:01:09 -05:00
create_lockdir_in_init_script.diff system/apcupsd: Updated for version 3.14.10. 2012-09-07 21:37:29 -05:00
doinst.sh system/apcupsd: Fixed (Handle desktop file) 2012-09-30 20:01:09 -05:00
README system/apcupsd: Updated for version 3.14.10. 2012-09-07 21:37:29 -05:00
README.SLACKWARE system/apcupsd: Updated for version 3.14.5 2010-05-12 17:44:57 +02:00
slack-desc system/apcupsd: Fixed for bash4. 2010-05-19 02:47:46 -04:00

APCUPSD can be used for power management and controlling most of APC's UPS 
models on Unix and Windows machines. Apcupsd works with most of APC's 
Smart-UPS models as well as most simple signalling models such as Back-UPS
and BackUPS-Office.

This buildscript veers from the "accepted" installation of apcupsd, but for 
what I believe you'll see are justifiable reasons.  The stock install of 
apcupsd detects its presence on Slackware and attempts to patch the system's
/etc/rc.d/rc.6 script and places the rc.apcupsd script inside /etc/rc.d 
(instead of DESTDIR/etc/rc.d - in essence, it touches files outside DESTDIR).
I don't view this as even remotely acceptable, so the build script disables 
the distribution-specific installation to prevent messing with files outside 
DESTDIR; however, this does make it require some manual configuration after 
installation.

After installing, see /usr/doc/apcupsd-3.14.10/README.SLACKWARE for more
information on how to modify rc.6 and how to start the apcupsd daemon 
automatically at boot.