... 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
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue