trying yet again a different approach to update files correctly upon install
This commit is contained in:
parent
a3934b7014
commit
3003509bf4
|
@ -13,9 +13,9 @@ files/firewall etc/init.d
|
||||||
files/ips.issue etc/issue.d
|
files/ips.issue etc/issue.d
|
||||||
files/wit-logging.conf etc/strongswan.d
|
files/wit-logging.conf etc/strongswan.d
|
||||||
files/lldpd.wit /etc/default
|
files/lldpd.wit /etc/default
|
||||||
debian/tmp/wit-swanctl.conf etc/swanctl/conf.d
|
templates/wit-swanctl.conf etc/swanctl/conf.d
|
||||||
debian/tmp/frr.conf.wit etc/frr
|
templates/frr.conf.wit etc/frr
|
||||||
debian/tmp/70-persistent-net.rules etc/udev/rules.d
|
templates/70-persistent-net.rules etc/udev/rules.d
|
||||||
debian/tmp/interfaces /etc/network
|
templates/interfaces /etc/network
|
||||||
debian/tmp/ipsec.conf.wit etc
|
templates/ipsec.conf.wit etc
|
||||||
debian/tmp/ipsec.secrets.wit etc
|
templates/ipsec.secrets.wit etc
|
||||||
|
|
|
@ -22,12 +22,12 @@ case "$1" in
|
||||||
|
|
||||||
|
|
||||||
## START gather all the info from the box and generate the variabels
|
## START gather all the info from the box and generate the variabels
|
||||||
IFCONFIG="debian/tmp/interfaces"
|
IFCONFIG="etc/network/interfaces"
|
||||||
UDEVCONFIG="debian/tmp/70-persistent-net.rules"
|
UDEVCONFIG="etc/udev/rules.d/70-persistent-net.rules"
|
||||||
FRRCONFIG="debian/tmp/frr.conf.wit"
|
FRRCONFIG="etc/frr/frr.conf.wit"
|
||||||
IPSECCONFIG="debian/tmp/ipsec.conf.wit"
|
IPSECCONFIG="etc/ipsec.conf.wit"
|
||||||
IPSECSECRETS="debian/tmp/ipsec.secrets.wit"
|
IPSECSECRETS="etc/ipsec.secrets.wit"
|
||||||
SWANCTLCONFIG="debian/tmp/wit-swanctl.conf"
|
SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf"
|
||||||
DOMAINNAME=$(hostname -d)
|
DOMAINNAME=$(hostname -d)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue