diff options
Diffstat (limited to 'bin/extra/ehbvpn')
-rwxr-xr-x | bin/extra/ehbvpn | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/extra/ehbvpn b/bin/extra/ehbvpn index 5d5643c..b9a9f45 100755 --- a/bin/extra/ehbvpn +++ b/bin/extra/ehbvpn @@ -10,12 +10,11 @@ which pptpsetup > /dev/null 2>&1 || name="ehb_tunnel" ip="193.190.238.38" -pass="e-mails/luca.raymaekers@student.ehb.be" -username="$(su aluc -c "pass show $pass" | - grep "^login:" | - cut -f 2- -d ' ')" -password="$(su aluc -c "pass show $pass" | - head -1)" +read -p "username: " username +stty -echo # disable terminal output +read -p "password: " password +stty echo +echo pptpsetup \ --create "$name" \ |