luci-app-openvpn-server: fix not start (#8840)

Co-authored-by: W_Y_CPP <383152993@qq.com>
This commit is contained in:
Beginner 2022-02-09 09:36:18 +08:00 committed by GitHub
parent 2e4d21137f
commit 57f538e8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ uci -q batch <<-EOF >/dev/null
set network.vpn0=interface
set network.vpn0.ifname='tun0'
set network.vpn0.proto='none'
commit network
delete firewall.openvpn
@ -44,6 +44,13 @@ uci -q batch <<-EOF >/dev/null
set firewall.lantovpn.dest='vpn'
commit firewall
delete ucitrack.@openvpn[-1]
add ucitrack openvpn
set ucitrack.@openvpn[-1].init=openvpn
commit ucitrack
EOF
chmod 0777 /etc/openvpn/server/checkpsw.sh