From b4125872497138240a480c0c2100c22f7b0663e5 Mon Sep 17 00:00:00 2001 From: billz Date: Sat, 16 Nov 2019 09:15:39 +0000 Subject: [PATCH] Update msgs --- installers/configauth.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installers/configauth.sh b/installers/configauth.sh index 81a3ba0d..f8da3e4d 100644 --- a/installers/configauth.sh +++ b/installers/configauth.sh @@ -1,15 +1,15 @@ #!/bin/bash # Updates openvpn client.conf with auth credentials -echo "Enabling auth-user-pass in OpenVPN client.conf..." +echo "Enabling auth credentials in OpenVPN client.conf" line='auth-user-pass' file='/tmp/ovpnclient.ovpn' if grep -q "$line" $file; then - echo "Updating line: $line" + echo "Updating $line" sudo sed -i "s/$line/$line login.conf/g" $file else - echo "Adding line: $line" + echo "Adding $line" sudo sed -i "$ a $line login.conf" $file fi