SVN: rc-scripts/trunk/rc.d/init.d/random

glen glen at pld-linux.org
Mon Jun 14 19:22:49 CEST 2010


Author: glen
Date: Mon Jun 14 19:22:49 2010
New Revision: 11555

Modified:
   rc-scripts/trunk/rc.d/init.d/random
Log:
- do not touch host random inside vserver (discussed with baggins and arekm long time ago)

Modified: rc-scripts/trunk/rc.d/init.d/random
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/random	(original)
+++ rc-scripts/trunk/rc.d/init.d/random	Mon Jun 14 19:22:49 2010
@@ -12,6 +12,11 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+# do nothing in vserver
+if is_yes "$VSERVER"; then
+	return
+fi
+
 upstart_controlled start stop
 
 random_seed=/var/run/random-seed


More information about the pld-cvs-commit mailing list