1
0
mirror of synced 2024-11-26 06:46:06 +03:00

Minor cleanup

This commit is contained in:
hwdsl2 2020-12-24 01:51:25 -06:00
parent 76c9d9c293
commit dbb5d0576d

View File

@ -454,7 +454,6 @@ cat >> /etc/rc.local <<'EOF'
# Added by hwdsl2 VPN script # Added by hwdsl2 VPN script
(sleep 15 (sleep 15
modprobe -q pppol2tp
service ipsec restart service ipsec restart
service xl2tpd restart service xl2tpd restart
echo 1 > /proc/sys/net/ipv4/ip_forward)& echo 1 > /proc/sys/net/ipv4/ip_forward)&
@ -485,7 +484,6 @@ if ! modprobe -q l2tp_ppp; then
fi fi
mkdir -p /run/pluto mkdir -p /run/pluto
modprobe -q pppol2tp
service fail2ban restart 2>/dev/null service fail2ban restart 2>/dev/null
service ipsec restart 2>/dev/null service ipsec restart 2>/dev/null
service xl2tpd restart 2>/dev/null service xl2tpd restart 2>/dev/null