Fix fail connection with new ovpn files
This commit is contained in:
parent
d3d6985248
commit
4e075ba2dc
|
@ -91,6 +91,8 @@ function insertCredentials() {
|
|||
sed -i "s/auth-user-pass/auth-user-pass ${sed_file_credentials}/g" "${1}"
|
||||
fi
|
||||
fi
|
||||
sed -i "s/up \/etc\/openvpn\/update-resolv-conf//g" "${1}"
|
||||
sed -i "s/down \/etc\/openvpn\/update-resolv-conf//g" "${1}"
|
||||
}
|
||||
|
||||
function editCredentialsText() {
|
||||
|
|
|
@ -65,6 +65,8 @@ function insertCredentials() {
|
|||
sed -i "s/auth-user-pass/auth-user-pass ${sed_file_credentials}/g" "${1}"
|
||||
fi
|
||||
fi
|
||||
sed -i "s/up \/etc\/openvpn\/update-resolv-conf//g" "${1}"
|
||||
sed -i "s/down \/etc\/openvpn\/update-resolv-conf//g" "${1}"
|
||||
}
|
||||
|
||||
function editCredentials() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user