Changeset 983ca58 in bootscripts-standard for cblfs/init.d/nfs-client


Ignore:
Timestamp:
Nov 16, 2008, 11:26:08 AM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
eec6401
Parents:
78b069e
Message:

Final Update for NFS4 Client Script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cblfs/init.d/nfs-client

    r78b069e r983ca58  
    1818
    1919                if [ "$NFS4" = "yes" ]; then
     20                        boot_mesg "Mounting rpc_pipefs virtual filesystem..."
     21                        /bin/mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
     22                        evaluate_retval
     23
    2024                        boot_mesg "Starting NFS gssd..."
    2125                        loadproc /usr/sbin/rpc.gssd -k ${NFS4KEYTAB:-/etc/nfs4.keytab}
     
    2832
    2933        stop)
    30                 boot_mesg "Stopping NFS idmapd..."
    31                 killproc /usr/sbin/rpc.idmapd
     34                if [ "$NFS4" = "yes" ]; then
     35                        boot_mesg "Stopping NFS idmapd..."
     36                        killproc /usr/sbin/rpc.idmapd
    3237
    33                 boot_mesg "Stopping NFS gssd..."
    34                 killproc /usr/sbin/rpc.gssd
     38                        boot_mesg "Stopping NFS gssd..."
     39                        killproc /usr/sbin/rpc.gssd
     40
     41                        boot_mesg "Unmounting rpc_pipefs virtual filesystem..."
     42                        /bin/umount /var/lib/nfs/rpc_pipefs 2>&1 > /dev/null
     43                        evaluate_retval
     44                fi
    3545
    3646                boot_mesg "Stopping NFS statd..."
     
    4656        status)
    4757                statusproc /usr/sbin/rpc.statd
    48                 statusproc /usr/sbin/rpc.gssd
    49                 statusproc /usr/sbin/rpc.idmapd
     58                if [ "$NFS4" = "yes" ]; then
     59                        statusproc /usr/sbin/rpc.gssd
     60                        statusproc /usr/sbin/rpc.idmapd
     61                fi
    5062                ;;
    5163
Note: See TracChangeset for help on using the changeset viewer.