dotfiles/.local/bin/tools/ethvpn
2020-07-04 14:23:27 +02:00

3 lines
262 B
Bash
Executable File

#!/bin/bash
[ $( pgrep -c openconnect ) -eq 0 ] &&( dmenupass "Password for ETH-VPN:" | sudo openconnect -g student-net -u abocken@student-net.ethz.ch --passwd-on-stdin sslvpn.ethz.ch ) || ( sudo pkill openconnect; notify-send "ETH VPN" "ETH VPN disconnected")