How to umount samba before NetworkManager shuts down network interfaces?

Craig White craigwhite at azapple.com
Sat Feb 9 15:53:55 UTC 2008


On Sat, 2008-02-09 at 10:47 +0100, Valent Turkovic wrote:
> 2008/2/9 Richard Shaw <hobbes1069 at gmail.com>:
> >
> > On Feb 8, 2008 3:43 PM, Valent Turkovic <valent.turkovic at gmail.com> wrote:
> >
> > >
> > >
> > >
> > > I can't find a way to do this, so I obviously need somebody smarter
> > > than me to figure this one out.
> > >
> > > I have samba shares mounted when I login to gnome, but I need a way to
> > > unmount them before NetworkManager shuts down network interfaces
> > > during reboot or loging off.
> > >
> > > Any ideas?
> > >
> > > Thank you in advance,
> > > Valent.
> > >
> > > --
> > > http://kernelreloaded.blog385.com/
> > > linux, blog, anime, spirituality, windsurf, wireless
> > > registered as user #367004 with the Linux Counter, http://counter.li.org.
> > > ICQ: 2125241, Skype: valent.turkovic
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list at redhat.com
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> >
> > I didn't have much luck googling but I wonder if there is an equivalent to
> > rclocal when logging out? Or does Gnome have a way to run a command during
> > logout?
> >
> > Richard
> 
> I there is somwehere in Gnome that option I'm not aware. Maybe
> somebody else knows.
----
you can use ~/.bash_logout

Craig




More information about the fedora-list mailing list