SOURCES (AC-branch): nfsfs.init - read /etc/sysconfig/nfsclient se...
baggins
baggins at pld-linux.org
Mon May 8 15:53:53 CEST 2006
Author: baggins Date: Mon May 8 13:53:53 2006 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- read /etc/sysconfig/nfsclient settings
---- Files affected:
SOURCES:
nfsfs.init (1.18.2.2 -> 1.18.2.3)
---- Diffs:
================================================================
Index: SOURCES/nfsfs.init
diff -u SOURCES/nfsfs.init:1.18.2.2 SOURCES/nfsfs.init:1.18.2.3
--- SOURCES/nfsfs.init:1.18.2.2 Mon May 8 15:47:23 2006
+++ SOURCES/nfsfs.init Mon May 8 15:53:48 2006
@@ -23,6 +23,9 @@
# Get network config
. /etc/sysconfig/network
+# Get service config
+[ -f /etc/sysconfig/nfsclient ] && . /etc/sysconfig/nfsclient
+
# Check that networking is up.
if is_yes "${NETWORKING}"; then
if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
@@ -32,7 +35,6 @@
else
exit 0
fi
-
# See how we were called.
case "$1" in
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nfsfs.init?r1=1.18.2.2&r2=1.18.2.3&f=u
More information about the pld-cvs-commit
mailing list