PDA

View Full Version : [ubuntu] Mount NFS after user login



Decoy
June 22nd, 2008, 06:45 PM
Hi!
Is there any way to mount NFS after user logged into system? While system booting it tries to mounts shares according to /etc/fstab file but on this stage network isn't up yet cause wireless iface bringing up by Network Manager which start after login, so it fails mount on load and holds the boot...

dmizer
June 23rd, 2008, 07:31 AM
quickest way i can think of is:

sudo mount -a

you could also write a script to include this in your networkmanager start sequence, but that could prove to be more difficult than it sounds, and i have zero experience with scripting.

Decoy
June 25th, 2008, 05:14 PM
Temporary used script http://ubuntuforums.org/showthread.php?t=592968 as solution