[csw-devel] SF.net SVN: gar:[21628] csw/mgar/pkg/apcupsd/trunk/Makefile

lblume at users.sourceforge.net lblume at users.sourceforge.net
Fri Aug 2 23:05:32 CEST 2013


Revision: 21628
          http://gar.svn.sourceforge.net/gar/?rev=21628&view=rev
Author:   lblume
Date:     2013-08-02 21:05:31 +0000 (Fri, 02 Aug 2013)
Log Message:
-----------
apcupsd/trunk: Wrong path set for the config file; add preservation of scripts

Modified Paths:
--------------
    csw/mgar/pkg/apcupsd/trunk/Makefile

Modified: csw/mgar/pkg/apcupsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apcupsd/trunk/Makefile	2013-08-02 20:30:46 UTC (rev 21627)
+++ csw/mgar/pkg/apcupsd/trunk/Makefile	2013-08-02 21:05:31 UTC (rev 21628)
@@ -104,10 +104,18 @@
 EXTRA_PAX_ARGS += -s ',.*/apcupsd\.css$$,.$(sharedstatedir)/www/apcupsd/html/apcupsd.css,'
 
 INITSMF += $(sysconfdir)/init.d/cswapcupsd
-PRESERVECONF += $(sysconfdir)/apcupsd.conf
-PRESERVECONF += $(sysconfdir)/multimon.conf
-PRESERVECONF += $(sysconfdir)/hosts.conf
+PRESERVECONF += $(sysconfdir)/apcupsd/apcupsd.conf
+PRESERVECONF += $(sysconfdir)/apcupsd/multimon.conf
+PRESERVECONF += $(sysconfdir)/apcupsd/hosts.conf
 
+# Scripts can be modified for site use too (email dest, mesg, ...)
+PRESERVECONF += $(sysconfdir)/apcupsd/apccontrol
+PRESERVECONF += $(sysconfdir)/apcupsd/changeme
+PRESERVECONF += $(sysconfdir)/apcupsd/commfailure
+PRESERVECONF += $(sysconfdir)/apcupsd/commok
+PRESERVECONF += $(sysconfdir)/apcupsd/offbattery
+PRESERVECONF += $(sysconfdir)/apcupsd/onbattery
+
 #DISTRETC     = init.d rc0.d rc1.d rc2.d
 APCUPSDDOC   = COPYING ChangeLog DISCLAIMER Developers ReleaseNotes VERIFYING
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list