SOURCES: nfs.init - change checkconfig priotities (mountd must be ...

baggins baggins at pld-linux.org
Mon Mar 26 00:34:18 CEST 2007


Author: baggins                      Date: Sun Mar 25 22:34:18 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- change checkconfig priotities (mountd must be started before idmapd)
- restart idmapd on nfsd/mountd restart

---- Files affected:
SOURCES:
   nfs.init (1.41 -> 1.42) 

---- Diffs:

================================================================
Index: SOURCES/nfs.init
diff -u SOURCES/nfs.init:1.41 SOURCES/nfs.init:1.42
--- SOURCES/nfs.init:1.41	Thu Mar 22 01:09:41 2007
+++ SOURCES/nfs.init	Mon Mar 26 00:34:13 2007
@@ -3,7 +3,7 @@
 # nfs		This shell script takes care of starting and stopping
 #		the NFS services.
 #
-# chkconfig:	345 60 20
+# chkconfig:	345 12 84
 # description:	NFS is a popular protocol for file sharing across TCP/IP \
 #		networks. This service provides NFS server functionality, \
 #		which is configured via the /etc/exports file.
@@ -101,6 +101,7 @@
   restart)
 	stop
 	start
+	/sbin/service idmapd status >/dev/null && /sbin/service idmapd restart
 	;;
   reload|force-reload)
 	if [ -f /var/lock/subsys/nfs ]; then
@@ -109,6 +110,7 @@
 		/usr/sbin/exportfs -r
 		[ $? -ne 0 ] && RETVAL=7
 		[ $RETVAL -eq 0 ] && ok || died
+		/sbin/service idmapd status >/dev/null && /sbin/service idmapd restart
 	else
 		msg_not_running "NFS"
 		exit 7
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/nfs.init?r1=1.41&r2=1.42&f=u



More information about the pld-cvs-commit mailing list