diff --git a/config/backup/includes/nagios_nrpe b/config/backup/includes/nagios_nrpe new file mode 100644 index 000000000..ce6de7ae7 --- /dev/null +++ b/config/backup/includes/nagios_nrpe @@ -0,0 +1 @@ +/etc/nagios/nrpe.cfg diff --git a/config/rootfiles/packages/nagios_nrpe b/config/rootfiles/packages/nagios_nrpe index 1da6c3baf..f2539adca 100644 --- a/config/rootfiles/packages/nagios_nrpe +++ b/config/rootfiles/packages/nagios_nrpe @@ -6,3 +6,4 @@ etc/rc.d/init.d/nrpe usr/bin/nrpe #usr/lib/nagios usr/lib/nagios/check_nrpe +var/ipfire/backup/addons/includes/nagios_nrpe diff --git a/lfs/nagios_nrpe b/lfs/nagios_nrpe index a011a75b4..a8b4b3676 100644 --- a/lfs/nagios_nrpe +++ b/lfs/nagios_nrpe @@ -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)