dnsdist: Add backup include
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Mar 2019 02:54:15 +0000 (02:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Mar 2019 02:54:30 +0000 (02:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/includes/dnsdist [new file with mode: 0644]
config/rootfiles/packages/dnsdist
lfs/dnsdist

diff --git a/config/backup/includes/dnsdist b/config/backup/includes/dnsdist
new file mode 100644 (file)
index 0000000..8d9b825
--- /dev/null
@@ -0,0 +1 @@
+/etc/dnsdist.conf
index ba7381f..3ccb126 100644 (file)
@@ -1,3 +1,4 @@
+etc/rc.d/init.d/dnsdist
 usr/bin/dnsdist
 #usr/share/man/man1/dnsdist.1
-etc/rc.d/init.d/dnsdist
+var/ipfire/backup/addons/includes/dnsdist
index 3e10c9e..e49b0fb 100644 (file)
@@ -87,6 +87,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        #install initscripts
        $(call INSTALL_INITSCRIPT,dnsdist)
 
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/dnsdist \
+                /var/ipfire/backup/addons/includes/dnsdist
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)