- Timestamp:
- Nov 16, 2008, 8:18:47 AM (16 years ago)
- Branches:
- master
- Children:
- 78b069e
- Parents:
- 5c8d1b0
- Location:
- cblfs/init.d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cblfs/init.d/nfs-client
r5c8d1b0 rad1a0bc 10 10 . /etc/sysconfig/rc 11 11 . $rc_functions 12 . /etc/sysconfig/nfs-client 12 13 13 14 case "$1" in … … 15 16 boot_mesg "Starting NFS statd..." 16 17 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 17 27 ;; 18 28 -
cblfs/init.d/nfs-server
r5c8d1b0 rad1a0bc 16 16 boot_mesg "Starting NFS mountd..." 17 17 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 18 26 19 27 boot_mesg "Starting NFS nfsd..." … … 50 58 # nfsd needs HUP.... 51 59 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 52 68 53 69 boot_mesg "Stopping NFS mountd..." … … 93 109 statusproc /usr/sbin/rpc.mountd 94 110 ## 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 95 115 statusproc nfsd 96 116 statusproc /usr/sbin/rpc.statd
Note:
See TracChangeset
for help on using the changeset viewer.