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

glen glen at pld-linux.org
Thu May 30 22:05:51 CEST 2013


Author: glen
Date: Thu May 30 22:05:51 2013
New Revision: 12675

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
rc.sysinit: check upstart var before binary check


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Thu May 30 22:05:51 2013
@@ -330,7 +330,7 @@
 		is_fsmounted devtmpfs /dev || mount -n -t devtmpfs devtmpfs /dev
 		load_kernel_modules modules.preudev
 		/sbin/start_udev
-		[ -x /sbin/initctl ] && /sbin/initctl -q start udev
+		use_upstart && [ -x /sbin/initctl ] && /sbin/initctl -q start udev
 	elif [ -x /lib/firmware/firmware-loader.sh ]; then
 		/sbin/sysctl -e -w kernel.hotplug=/lib/firmware/firmware-loader.sh > /dev/null 2>&1
 	fi


More information about the pld-cvs-commit mailing list