Red Hat ENTERPRISE 5.3 RELEASE NOTES Guía de instalación Pagina 201

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 209
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 200
# Check for and source configuration file otherwise set defaults
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
+# Remote quota server
+[ -z "$ RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
+
RETVAL=0
# See how we were called.
@@ -26,11 +29,16 @@
start)
# Check that networking is up.
- [ "${NETWORKING}" = "no" ] && exit 6
+ [ "${NETWORKING}" != "yes" ] && exit 6
[ -x /usr/sbin/rpc.nfsd ] || exit 5
[ -x /usr/sbin/rpc.mountd ] || exit 5
[ -x /usr/sbin/exportfs ] || exit 5
+
+ # Make sure the rpc.m ountd is not already running.
+ if status rpc.mountd > /dev/null ; then
+ exit 0
+ fi
# Don't fail if /etc/exports doesn't exist; create a bare-bones
# version and continue.
@@ -42,9 +50,6 @ @
# Number of servers to be started by default
[ -z "$ RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
-
- # Remote quota server
- [ -z "$ RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
# Start daemons.
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
@@ -67,6 +72,12 @@
RETVAL=$?
echo
fi
+
+ # Load preload module so argum ents to rpc.nfsd will take effect
+ [ -n "$RPCNFSDARGS" -a "$NFSD_MODULE" != "noload" ] && {
+ [ -x /sbin/modprobe ] && /sbin/modprobe nfsd
+ }
+
echo -n $"Starting NFS daem on: "
daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT
RETVAL=$ ?
initscripts-8.45.19.EL-1.i386.rpm: /etc/sysconfig/network-scripts/network-functions
---
+++
@@ -28,7 +28,7 @@
get_config_by_subchannel ()
{
- LANG=C grep -il "^[[:space:]]*SUBCHANNELS=${1}\([[:space:]#]\|$\|,\)"
/etc/sysconfig/network-scripts/ifcfg-* \
+ LANG=C egrep -i -l "^[[:space:]]*SUBCHANNELS=([0-9]\.[0-9]\.[a-f0-
Red Hat Enterprise Linux 5 5.3 Release Notes
198
Vista de pagina 200

Comentarios a estos manuales

Sin comentarios