blob: ae7efbd4eb6514eb8209121571557de3d978f9a9 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
nmcli c show --active | grep -q "wg-mullvad" 2>>/dev/null && read -p "VPN is active. Contine? [Y/n] " ON || echo "VPN is off, aborting."; break ;
case $ON in
[Yy]* ) croc $1;
esac
|