Changeset ad1a0bc in bootscripts-standard for cblfs/init.d/nfs-server


Ignore:
Timestamp:
Nov 16, 2008, 8:18:47 AM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
78b069e
Parents:
5c8d1b0
Message:

Add NFS4 Support.

File:
1 edited

Legend:

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

    r5c8d1b0 rad1a0bc  
    1616                boot_mesg "Starting NFS mountd..."
    1717                loadproc /usr/sbin/rpc.mountd
     18
     19                if [ "$NFS4" = "yes" ]; then
     20                        boot_mesg "Starting NFS4 idmapd..."
     21                        loadproc /usr/sbin/rpc.idmapd
     22
     23                        boot_mesg "Starting NFS4 svcgssd..."
     24                        loadproc /usr/sbin/rpc.svcgssd
     25                fi
    1826
    1927                boot_mesg "Starting NFS nfsd..."
     
    5058                # nfsd needs HUP....
    5159                killproc nfsd HUP
     60
     61                if [ "$NFS4" = "yes" ]; then
     62                        boot_mesg "Stopping NFS svcgssd..."
     63                        killproc /usr/sbin/rpc.svcgssd
     64
     65                        boot_mesg "Stopping NFS idmapd..."
     66                        killproc /usr/sbin/rpc.idmapd
     67                fi
    5268
    5369                boot_mesg "Stopping NFS mountd..."
     
    93109                statusproc /usr/sbin/rpc.mountd
    94110                ## Special case for nfsd with no full path
     111                if [ "$NFS4" = "yes" ]; then
     112                        statusproc /usr/sbin/rpc.idmapd
     113                        statusproc /usr/sbin/rps.svcgssd
     114                fi
    95115                statusproc nfsd
    96116                statusproc /usr/sbin/rpc.statd
Note: See TracChangeset for help on using the changeset viewer.