Changeset ad1a0bc in bootscripts-standard


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.

Location:
cblfs/init.d
Files:
2 edited

Legend:

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

    r5c8d1b0 rad1a0bc  
    1010. /etc/sysconfig/rc
    1111. $rc_functions
     12. /etc/sysconfig/nfs-client
    1213
    1314case "$1" in
     
    1516                boot_mesg "Starting NFS statd..."
    1617                loadproc /usr/sbin/rpc.statd
     18
     19                if [ "$NFS4" = "yes" ]; then
     20                        bootmesg "Starting NFS gssd"
     21                        loadproc /usr/sbin/rpc.gssd -k ${NFS4KEYTAB:-/etc/nfs4.keytab}
     22
     23                        bootmesg "Starting NFS idmapd"
     24                        loadproc /usr/sbin/rpc.idmapd
     25                fi
     26
    1727                ;;
    1828
  • 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.