Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3125  / 3 Years ago, tue, june 22, 2021, 7:47:07

I have no problem mounting my shares (fstab or Gigolo). What I looking for is a way to automatically unmount the shares when I disconnect from the network and reconnect when I return.
Gigolo seems close. It reconnects fine, but I still seem to have to manually disconnect from each share individually.


More From » laptop

 Answers
7

I found exactly what I was looking for in the Ubuntu Forums.



HOWTO: Automatically mount and unmount shares (alternative version)



It automatically mounts and unmounts shares as they come and go.
I've used this method on Ubuntu 11.10, 12.04, and Debian Squeeze and it works flawlessly.


[#40996] Thursday, June 24, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cheeturage

Total Points: 432
Total Questions: 111
Total Answers: 115

Location: Bahrain
Member since Tue, Mar 1, 2022
2 Years ago
;