rc-scripts/trunk/rc.d/rc.sysinit

glen cvs at pld-linux.org
Fri Mar 3 22:54:04 CET 2006


Author: glen
Date: Fri Mar  3 22:54:00 2006
New Revision: 7083

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
The is_no() function comes from functions, don't use it before it's defined

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Mar  3 22:54:00 2006
@@ -39,13 +39,6 @@
 	HOSTNAME=localhost
 fi
 
-# boot logging to /var/log/boot.msg. install showconsole package to get it.
-if [ -x /sbin/blogd ] && ! is_no "$RC_BOOTLOG"; then
-	RC_BOOTLOG=1
-else
-	RC_BOOTLOG=
-fi
-
 # Read system config data
 if [ -r /etc/sysconfig/system ]; then
 	. /etc/sysconfig/system
@@ -64,6 +57,13 @@
 # Read functions
 . /etc/rc.d/init.d/functions
 
+# boot logging to /var/log/boot.msg. install showconsole package to get it.
+if [ -x /sbin/blogd ] && ! is_no "$RC_BOOTLOG"; then
+	RC_BOOTLOG=1
+else
+	RC_BOOTLOG=
+fi
+
 if ! is_yes "$VSERVER" ; then
 	# we need /proc mounted before everything
 	mount -n -o gid=17 -t proc /proc /proc


More information about the pld-cvs-commit mailing list