diff --git a/debian/wit-network-config.install b/debian/wit-network-config.install index 7920e42..a95d0c6 100644 --- a/debian/wit-network-config.install +++ b/debian/wit-network-config.install @@ -13,9 +13,9 @@ files/firewall etc/init.d files/ips.issue etc/issue.d files/wit-logging.conf etc/strongswan.d files/lldpd.wit /etc/default -debian/tmp/wit-swanctl.conf etc/swanctl/conf.d -debian/tmp/frr.conf.wit etc/frr -debian/tmp/70-persistent-net.rules etc/udev/rules.d -debian/tmp/interfaces /etc/network -debian/tmp/ipsec.conf.wit etc -debian/tmp/ipsec.secrets.wit etc +templates/wit-swanctl.conf etc/swanctl/conf.d +templates/frr.conf.wit etc/frr +templates/70-persistent-net.rules etc/udev/rules.d +templates/interfaces /etc/network +templates/ipsec.conf.wit etc +templates/ipsec.secrets.wit etc diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index ffb0eb0..85c19e2 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -22,12 +22,12 @@ case "$1" in ## START gather all the info from the box and generate the variabels - IFCONFIG="debian/tmp/interfaces" - UDEVCONFIG="debian/tmp/70-persistent-net.rules" - FRRCONFIG="debian/tmp/frr.conf.wit" - IPSECCONFIG="debian/tmp/ipsec.conf.wit" - IPSECSECRETS="debian/tmp/ipsec.secrets.wit" - SWANCTLCONFIG="debian/tmp/wit-swanctl.conf" + IFCONFIG="etc/network/interfaces" + UDEVCONFIG="etc/udev/rules.d/70-persistent-net.rules" + FRRCONFIG="etc/frr/frr.conf.wit" + IPSECCONFIG="etc/ipsec.conf.wit" + IPSECSECRETS="etc/ipsec.secrets.wit" + SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf" DOMAINNAME=$(hostname -d)