Re: How to umount samba before NetworkManager shuts down network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 08 Feb 2008 22:43:48 +0100 Valent Turkovic 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.


There's a work-around I use for this type of problem: In
/etc/inittab, replace the line
	ca::ctrlaltdel:/sbin/shutdown -t3 -r now
by the following
	ca::ctrlaltdel:/root/myshutdown
where the file /root/myshutdown is a shell script whose last line is
	/sbin/shutdown -t3 -r now

You can do similar things for the shutdown and reboot commands
(in case you don't use control-alt-delete to reboot).

And do remember this hack when yum will replace the sysvinit rpm.
 :-)
     --Georg


-- 
Georg Wittig, Fraunhofer-Gesellschaft
C7 - Kommunikationsmanagement
Schloss Birlinghoven, 53754 St. Augustin, Germany
Telefon +49 2241 14-2800
mailto:georg.wittig@xxxxxxxxxxxxxxxx
www.fraunhofer.de

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux