... seriously,... running out of ideas ...
This commit is contained in:
parent
396b2899ae
commit
cfeef0de5b
|
@ -23,15 +23,18 @@ 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="templates/interfaces"
|
IFCONFIG="etc/network/interfaces"
|
||||||
UDEVCONFIG="templates/70-persistent-net.rules"
|
UDEVCONFIG="etc/udev/rules.d/70-persistent-net.rules"
|
||||||
FRRCONFIG="templates/frr.conf.wit"
|
FRRCONFIG="etc/frr/frr.conf.wit"
|
||||||
SWANCTLCONFIG="templates/wit-swanctl.conf"
|
SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf"
|
||||||
IPSECCONFIG="templates/ipsec.conf.wit"
|
IPSECCONFIG="etc/ipsec.conf.wit"
|
||||||
IPSECSECRETS="etc/ipsec.secrets"
|
IPSECSECRETS="etc/ipsec.secrets"
|
||||||
SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf"
|
SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf"
|
||||||
DOMAINNAME=$(hostname -d)
|
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() {
|
dig_txt() {
|
||||||
TMPDIG=$(dig txt +short $1)
|
TMPDIG=$(dig txt +short $1)
|
||||||
|
|
Loading…
Reference in New Issue