]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/nagios_nrpe
nagios_nrpe: Backup configuration before update
[ipfire-2.x.git] / lfs / nagios_nrpe
index a011a75b4f78a374a356f59c13d69dc9d746fcc4..a8b4b3676b1b98a9a1195e83f46f9101b0578769 100644 (file)
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nagios_nrpe
-PAK_VER    = 7
+PAK_VER    = 8
 
 DEPS       = nagios-plugins
 
@@ -96,5 +96,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # install initscript
        $(call INSTALL_INITSCRIPT,nrpe)
 
+       install -v -m 644 ${DIR_SRC}/config/backup/includes/nagios_nrpe \
+               /var/ipfire/backup/addons/includes/nagios_nrpe
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)