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