From bca50fab09742f52e94e48d8957b0b9b76611f63 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Aug 2015 20:04:55 +0200 Subject: [PATCH] fix login credentials for openvpn scripts --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index dbc6913..6d2dd27 100755 --- a/install.sh +++ b/install.sh @@ -193,8 +193,8 @@ cp -r "$base_path/installation/scripts" "/etc/openvpn/" chmod +x "/etc/openvpn/scripts/"* # Configure MySQL in openvpn scripts -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/USER=''/USER='$mysql_user'/" "/etc/openvpn/scripts/config.sh" +sed -i "s/PASS=''/PASS='$mysql_pass'/" "/etc/openvpn/scripts/config.sh" # Create the directory of the web application mkdir "$openvpn_admin"