We currently have a script that prompts user for Username and Password, passes it through to the VPN, connects the VPN, and then mounts smb shares. This script is delivered through the Self Service store.
If a user connected to the VPN with mounted drives loses internet connection, or closes the lid of their laptop, the VPN disconnects and the drives remain mounted. This freezes finder for close to 5 minutes until the drives finally eject themselves and finder force quits multiple times.
Has anyone gotten any kind of sleep triggers or lid close triggers to work? If we had that as a trigger, we could eject drives using a script or somethng...
