<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_shutdown_unmount_CIFS</id>
	<title>Ubuntu shutdown unmount CIFS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Ubuntu_shutdown_unmount_CIFS"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Ubuntu_shutdown_unmount_CIFS&amp;action=history"/>
	<updated>2026-04-27T19:19:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Ubuntu_shutdown_unmount_CIFS&amp;diff=959&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Ubuntu_shutdown_unmount_CIFS&amp;diff=959&amp;oldid=prev"/>
		<updated>2013-07-25T08:45:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:45, 25 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Ubuntu_shutdown_unmount_CIFS&amp;diff=958&amp;oldid=prev</id>
		<title>Chris at 04:13, 6 July 2009</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Ubuntu_shutdown_unmount_CIFS&amp;diff=958&amp;oldid=prev"/>
		<updated>2009-07-06T04:13:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To unmount Samba shares before shutting down network services, run the following commands as root:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh&lt;br /&gt;
ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Jaunty edit /etc/gdm/PostSession/Default and add /etc/init.d/umountnfs.sh to the top of the file like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/etc/init.d/umountnfs.sh&lt;br /&gt;
&lt;br /&gt;
PATH=&amp;quot;/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH:/bin:/usr/bin&amp;quot;&lt;br /&gt;
OLD_IFS=$IFS&lt;br /&gt;
&lt;br /&gt;
gdmwhich () {&lt;br /&gt;
  COMMAND=&amp;quot;$1&amp;quot;&lt;br /&gt;
  OUTPUT=&lt;br /&gt;
  IFS=:&lt;br /&gt;
  for dir in $PATH&lt;br /&gt;
  do&lt;br /&gt;
    if test -x &amp;quot;$dir/$COMMAND&amp;quot; ; then&lt;br /&gt;
      if test &amp;quot;x$OUTPUT&amp;quot; = &amp;quot;x&amp;quot; ; then&lt;br /&gt;
        OUTPUT=&amp;quot;$dir/$COMMAND&amp;quot;&lt;br /&gt;
      fi&lt;br /&gt;
    fi&lt;br /&gt;
  done&lt;br /&gt;
  IFS=$OLD_IFS&lt;br /&gt;
  echo &amp;quot;$OUTPUT&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
</feed>