Changeset f6d89c6


Ignore:
Timestamp:
01/26/2004 10:40:37 PM (18 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
bd43819a
Parents:
6c91f96e
Message:

applied DJ's netfs patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1731 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r6c91f96e rf6d89c6  
    1111
    1212<itemizedlist>
     13
     14<listitem><para>January 26th, 2004 [igor]: Patched netfs init
     15script, contributed by DJ Lucas and Gabriel
     16Munoz.</para></listitem>
    1317
    1418<listitem><para>January 26th, 2004 [igor]: Updated to
  • postlfs/config/netfs.xml

    r6c91f96e rf6d89c6  
    4747                # Check to see if anything was listed from above
    4848                # (see if anything is actually needs to be unmounted)
    49                 if [ x$NETMOUNTS != x ]
     49                if [ x"$NETMOUNTS" != x ]
    5050                then
    5151                        # There is something mounted
     
    6767                        fi
    6868                                                                               
    69                         # unmount our list
    70                         umount $NETMOUNTS
    71                         evaluate_retval
     69                        # We now need to unmount all network filesystems.
     70                        # We will do this with two umount commands to allow
     71                        # for broken behavior of smbmount, and also to make
     72                        # certain that netmounts without the _netdev option
     73                        # will still get unmounted.
     74                        umount -a -O _netdev
     75                        # save the retval
     76                        if [ $? != 0 ]
     77                        then
     78                                NERRVAL=1
     79                        fi
     80
     81                        # Now catch the rest of the network filesystems
     82                        # by fstype.  This list can be extended later as
     83                        # more network filesystems are supported by mount.
     84                        umount -a -t coda,ncpfs,nfs,smbfs
     85                        if [ $? == 0]
     86                        then
     87                                [ -z $NERRVAL ]
     88                                evaluate_retval
     89                        else
     90                                # make certain that we return an error
     91                                /bin/false             
     92                                evaluate_retval
     93                        fi
    7294                else
    7395                        # There is nothing mounted
Note: See TracChangeset for help on using the changeset viewer.