mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
apcupsd: addition of backup/includes definition
Added a backup/includes file for apcupsd to backup the /etc/apcupsd/ directory where all the configuration files are stored. Currently there is no backup available to save the state of any changes carried out to the configuration or action files. Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
17a8437e82
commit
d0d63bbbee
1
config/backup/includes/apcupsd
Normal file
1
config/backup/includes/apcupsd
Normal file
@@ -0,0 +1 @@
|
||||
/etc/apcupsd/
|
||||
@@ -33,3 +33,4 @@ srv/web/ipfire/cgi-bin/upsstats.cgi
|
||||
#usr/share/man/man8/apcupsd.8
|
||||
etc/rc.d/init.d/apcupsd
|
||||
var/ipfire/menu.d/EX-apcupsd.menu
|
||||
var/ipfire/backup/addons/includes/apcupsd
|
||||
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = apcupsd
|
||||
PAK_VER = 6
|
||||
PAK_VER = 7
|
||||
|
||||
DEPS =
|
||||
|
||||
@@ -88,5 +88,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
ln -sf ../init.d/apcupsd /etc/rc.d/rc3.d/S65apcupsd
|
||||
ln -sf ../init.d/apcupsd /etc/rc.d/rc0.d/K35apcupsd
|
||||
ln -sf ../init.d/apcupsd /etc/rc.d/rc6.d/K35apcupsd
|
||||
install -v -m 644 ${DIR_SRC}/config/backup/includes/apcupsd \
|
||||
/var/ipfire/backup/addons/includes/apcupsd
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user