making sysctl tweaks more versatile and just reload sysctl settings

This commit is contained in:
toby 2019-04-09 21:00:11 +00:00
parent 1c38fef482
commit c53f3e2219
1 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,6 @@ case "$1" in
SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf"
IPSECCONFIG="etc/ipsec.conf.wit"
IPSECSECRETS="etc/ipsec.secrets"
SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf"
CAPATH="/etc/ipsec.d"
CACURLURL="http://bastion"
@ -416,11 +415,11 @@ case "$1" in
## START configuring services as we need it
sysctl --system
systemctl enable strongswan || true ## in case we kick-start or done have it enabled for some reason
systemctl enable firewall
systemctl restart firewall
sysctl -p $SYSCTLTWEAKS
## END services section