From 3eea5c6f3a8200cfcb7b8024eb60ab745744a738 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 28 Nov 2018 19:07:10 +0000 Subject: [PATCH] nfs: Add backup include file Signed-off-by: Michael Tremer --- config/backup/includes/nfs | 2 ++ config/rootfiles/packages/nfs | 1 + lfs/nfs | 6 +++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 config/backup/includes/nfs diff --git a/config/backup/includes/nfs b/config/backup/includes/nfs new file mode 100644 index 0000000000..25301f9ce4 --- /dev/null +++ b/config/backup/includes/nfs @@ -0,0 +1,2 @@ +etc/exports +var/ipfire/nfs/nfs-server diff --git a/config/rootfiles/packages/nfs b/config/rootfiles/packages/nfs index 00ede63f90..16059abdc5 100644 --- a/config/rootfiles/packages/nfs +++ b/config/rootfiles/packages/nfs @@ -68,6 +68,7 @@ usr/sbin/start-statd #usr/share/man/man8/sm-notify.8 #usr/share/man/man8/statd.8 #usr/share/man/man8/umount.nfs.8 +var/ipfire/backup/addons/includes/nfs #var/ipfire/nfs var/ipfire/nfs/nfs-server #var/lib/nfs diff --git a/lfs/nfs b/lfs/nfs index e401894cb3..4083073e23 100644 --- a/lfs/nfs +++ b/lfs/nfs @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nfs -PAK_VER = 12 +PAK_VER = 13 DEPS = "rpcbind" @@ -107,5 +107,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Install configuration install -v -m 644 $(DIR_SRC)/config/cfgroot/nfs-server $(CONFIG_ROOT)/nfs/nfs-server + # Install backup include + install -v -m 644 $(DIR_SRC)/config/backup/includes/nfs \ + /var/ipfire/backup/addons/includes/nfs + @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.39.2