Sorry to bring this thread up again but I'm still having problems here after trying various of the methods suggested.
I'm running 9.10 on a laptop and I'm connecting via wireless to a NAS box. I'm mounting a couple of shares off the NAS box using fstab as below:
This works great and I can remove these easily using:
//myxerver/colin /home/colin-backup smbfs iocharset=utf8,credentials=xxx,uid=1000,gid=1000 0 0
//myxerver/work /home/work smbfs iocharset=utf8,credentials=xxx,uid=1000,gid=1000 0 0
So I know I have a script that will successfully remove the shares and if I manually run this, I can shutdown the computer in seconds.
So I went to /etc/rc0 and rc6 and renamed the umount script as follows:
lrwxrwxrwx 1 root root 22 2009-11-02 18:00 K01umountnfs.sh -> ../init.d/umountnfs.sh
But it still locks up when trying to shutdown.
I've tried putting the above line in the /etc/gdm/PostSession/Default file but this causes the window manager to lock when shutting down and it never goes to the black screen. Manually running the script works fine though...
Can anybody help?