[blfs-book] r18971 - in trunk/bootscripts: . blfs/init.d

via blfs-book blfs-book at lists.linuxfromscratch.org
Tue Aug 1 09:27:12 PDT 2017


Author: bdubbs
Date: Tue Aug  1 09:27:12 2017
New Revision: 18971

Log:
Remove quota from mfs-server boot script

Modified:
   trunk/bootscripts/ChangeLog
   trunk/bootscripts/blfs/init.d/nfs-server

Modified: trunk/bootscripts/ChangeLog
==============================================================================
--- trunk/bootscripts/ChangeLog	Mon Jul 31 14:48:22 2017	(r18970)
+++ trunk/bootscripts/ChangeLog	Tue Aug  1 09:27:12 2017	(r18971)
@@ -1,3 +1,6 @@
+2017-07-31  Bruce Dubbs <bdubbs at linuxfromscratch.org>
+   * Delete references to rpc.rquotad in nfs-server script
+
 2017-06-11  Douglas R. Reno <renodr at linuxfromscratch.org>
    * Fix nfs-client and nfs-server scripts for change in nfs-utils
 

Modified: trunk/bootscripts/blfs/init.d/nfs-server
==============================================================================
--- trunk/bootscripts/blfs/init.d/nfs-server	Mon Jul 31 14:48:22 2017	(r18970)
+++ trunk/bootscripts/blfs/init.d/nfs-server	Tue Aug  1 09:27:12 2017	(r18971)
@@ -9,6 +9,7 @@
 #               Douglas R. Reno - renodr at linuxfromscratch.org
 #
 # Version     : LFS 7.0
+# Version     : LFS 8.1 - Remove references to rpc.rquotad
 #
 ########################################################################
 
@@ -42,12 +43,6 @@
       start_daemon /sbin/rpc.nfsd -p $PORT $PROCESSES
       evaluate_retval
 
-      if [ "$QUOTAS" = "yes" ]; then
-         log_info_msg "Starting NFS rquotad..."
-         start_daemon /sbin/rpc.rquotad
-         evaluate_retval
-      fi
-
       log_info_msg "Starting NFS mountd..."
       start_daemon /sbin/rpc.mountd
       evaluate_retval
@@ -63,12 +58,6 @@
       /sbin/exportfs -au 2>&1 > /dev/null
       evaluate_retval
 
-      if [ "$QUOTAS" = "yes" ]; then
-         log_info_msg "Stopping NFS rquotad..."
-         killproc /sbin/rpc.rquotad
-         evaluate_retval
-      fi
-
       log_info_msg "Stopping NFS statd..."
       killproc /sbin/rpc.statd
       evaluate_retval
@@ -105,10 +94,6 @@
       status /sbin/rpc.mountd
       ## Special case for nfsd with no full path
       statusproc nfsd
-      statusproc /sbin/rpc.statd
-      if [ "$QUOTAS" = "yes" ]; then
-         statusproc rpc.rquotad
-      fi
       ;;
 
    *)


More information about the blfs-book mailing list