packages: rc-scripts/rc-scripts-svn.patch - rel 3; netfs vserver fix

arekm arekm at pld-linux.org
Wed Dec 22 11:50:18 CET 2010


Author: arekm                        Date: Wed Dec 22 10:50:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; netfs vserver fix

---- Files affected:
packages/rc-scripts:
   rc-scripts-svn.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/rc-scripts/rc-scripts-svn.patch
diff -u packages/rc-scripts/rc-scripts-svn.patch:1.6 packages/rc-scripts/rc-scripts-svn.patch:1.7
--- packages/rc-scripts/rc-scripts-svn.patch:1.6	Wed Dec 22 06:59:32 2010
+++ packages/rc-scripts/rc-scripts-svn.patch	Wed Dec 22 11:50:13 2010
@@ -20,3 +20,18 @@
  			mount -n -t cpuset none /dev/cpuset
  		fi
  	fi
+Index: rc.d/init.d/netfs
+===================================================================
+--- rc.d/init.d/netfs	(wersja 12019)
++++ rc.d/init.d/netfs	(kopia robocza)
+@@ -15,6 +15,10 @@
+ . /etc/rc.d/init.d/cryptsetup
+ . /etc/sysconfig/network
+ 
++if is_yes "$VSERVER"; then
++	exit 0
++fi
++
+ # nfs uses own script for that
+ if [ ! -f /etc/rc.d/init.d/nfsfs ]; then
+ 	NFSFSTAB=$(LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $3 != "nfsd" && $4 !~ /noauto/ { print $2 }' /etc/fstab)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rc-scripts/rc-scripts-svn.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list