From 396b2899ae211398c75879a2b9a19bb189cc47f5 Mon Sep 17 00:00:00 2001 From: toby Date: Fri, 8 Mar 2019 22:53:21 -0800 Subject: [PATCH] ... seriously,... running out of ideas ... --- debian/wit-network-config.postinst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 8a137ac..8973019 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -18,20 +18,17 @@ set -xe # the debian-policy package -#DEBHELPER# - - case "$1" in configure) ## START gather all the info from the box and generate the variabels - IFCONFIG="etc/network/interfaces" - UDEVCONFIG="etc/udev/rules.d/70-persistent-net.rules" - FRRCONFIG="etc/frr/frr.conf.wit" - IPSECCONFIG="etc/ipsec.conf.wit" + IFCONFIG="templates/interfaces" + UDEVCONFIG="templates/70-persistent-net.rules" + FRRCONFIG="templates/frr.conf.wit" + SWANCTLCONFIG="templates/wit-swanctl.conf" + IPSECCONFIG="templates/ipsec.conf.wit" IPSECSECRETS="etc/ipsec.secrets" - SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf" SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf" DOMAINNAME=$(hostname -d) @@ -403,4 +400,7 @@ case "$1" in esac +#DEBHELPER# + + exit 0