fix login credentials for openvpn scripts
This commit is contained in:
parent
9b4df372b5
commit
bca50fab09
@ -193,8 +193,8 @@ cp -r "$base_path/installation/scripts" "/etc/openvpn/"
|
|||||||
chmod +x "/etc/openvpn/scripts/"*
|
chmod +x "/etc/openvpn/scripts/"*
|
||||||
|
|
||||||
# Configure MySQL in openvpn scripts
|
# Configure MySQL in openvpn scripts
|
||||||
sed -i "s/\$USER=''/\$USER='$mysql_user'/" "/etc/openvpn/scripts/config.sh"
|
sed -i "s/USER=''/USER='$mysql_user'/" "/etc/openvpn/scripts/config.sh"
|
||||||
sed -i "s/\$PASS=''/\$PASS='$mysql_pass'/" "/etc/openvpn/scripts/config.sh"
|
sed -i "s/PASS=''/PASS='$mysql_pass'/" "/etc/openvpn/scripts/config.sh"
|
||||||
|
|
||||||
# Create the directory of the web application
|
# Create the directory of the web application
|
||||||
mkdir "$openvpn_admin"
|
mkdir "$openvpn_admin"
|
||||||
|
Loading…
Reference in New Issue
Block a user