Skip to content

Commit

Permalink
fix login credentials for openvpn scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Aug 7, 2015
1 parent 9b4df37 commit bca50fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bca50fa

Please sign in to comment.