Add smb:// flags/mechanism for disabling over certain network connections
Feature Request
Add some kind of logic around the smb shares options to disable while on a VPN connection.
something like:
vpn=`/usr/sbin/scutil --nc list | grep '(Connected)' | cut -d ')' -f 1 | tr -d '* ('`
if [[ $vpn = 'Connected' ]]; then
echo "VPN, no shares for you."
else ...
To prevent auto smb share mounts while on limited bandwidth connections VPN, Hotspot etc