diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 8973019..a19f203 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -23,15 +23,18 @@ case "$1" in ## START gather all the info from the box and generate the variabels - IFCONFIG="templates/interfaces" - UDEVCONFIG="templates/70-persistent-net.rules" - FRRCONFIG="templates/frr.conf.wit" - SWANCTLCONFIG="templates/wit-swanctl.conf" - IPSECCONFIG="templates/ipsec.conf.wit" + IFCONFIG="etc/network/interfaces" + UDEVCONFIG="etc/udev/rules.d/70-persistent-net.rules" + FRRCONFIG="etc/frr/frr.conf.wit" + SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf" + IPSECCONFIG="etc/ipsec.conf.wit" IPSECSECRETS="etc/ipsec.secrets" SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf" DOMAINNAME=$(hostname -d) + ## this I figure out how to actually install the files correctly I need to wipe them, not clean but open for suggestions + echo >$IFCONFIG + echo >$UDEVCONFIG dig_txt() { TMPDIG=$(dig txt +short $1)