I have found that in Slackware 12 sometimes hangs during shutdown or
reboot. What happens is the following:

1) NFS file systems are unmounted
2) Some NFS file system is busy and instead becomes remounted read only.
3) Networking is stopped and all processes are killed
4) The last mounted file systems are unmounted
5) The remaining NFS file systems hang the shutdown script as they can't
be unmounted without network access to the NFS server.

My patch is simple, the script was almost prepared for this as it was able
to handle an NFS mounted root file system. Without the patch applied I am
able to reproduce the problem and with the patch applied the problem goes

--- rc.6.org 2007-07-27 11:29:49.657435000 +0200
+++ rc.6.new 2007-07-27 11:34:18.098859000 +0200
@@ -110,9 +110,9 @@

-# Bring down the networking system, but first make sure that this
-# isn't a diskless client with the / partition mounted via NFS:
-if ! /bin/mount | /bin/grep -q 'on / type nfs' ; then
+# Bring down the networking system, but first make sure that
+# there are no NFS mounts left:
+if ! /bin/mount | /bin/grep -q 'type nfs' ; then
if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1 stop

regards Henrik
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost