Minor cleanup
This commit is contained in:
parent
76c9d9c293
commit
dbb5d0576d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user