Changeset f6d89c6 for postlfs/config


Ignore:
Timestamp:
01/26/2004 10:40:37 PM (20 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.