Slow Shutdown when Network Mgr closes before CIFS unmounted

David Collins david.8.collins at gmail.com
Thu Jan 21 10:27:27 GMT 2010


FYI, I worked out a fix for this problem in Xubuntu.
This works for me with both a shutdown and restart using the GUI.

# Rename the executable that is called when shutting down or rebooting.
cd /usr/sbin
sudo mv xfsm-shutdown-helper xfsm-shutdown-helper-orig

# Replace the executable with a script.
gksu mousepad xfsm-shutdown-helper
Create these lines in the new file ..
  !#/bin/sh
   # XFCE shutting down - close network connections.
   /etc/init.d/umountnfs.sh
   # THEN call the original executable.
   /usr/sbin/xfsm-shutdown-helper-orig

# Make the new script executable.
sudo chmod +x xfsm-shutdown-helper

# Check the permissions.
/usr/sbin# ls -al xf*
-rwxr-xr-x 1 root root  152 2010-01-21 21:03 xfsm-shutdown-helper
-rwxr-xr-x 1 root root 5588 2009-09-19 20:30 xfsm-shutdown-helper-orig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/xubuntu-devel/attachments/20100121/b23eb1dc/attachment.htm 


More information about the xubuntu-devel mailing list