SVN: rc-scripts/trunk: init/rc.conf init/rcS.conf init/udev.conf rc.d/rc.sysinit

jajcus jajcus at pld-linux.org
Wed Jun 15 14:45:05 CEST 2011


Author: jajcus
Date: Wed Jun 15 14:45:05 2011
New Revision: 12244

Added:
   rc-scripts/trunk/init/udev.conf
Modified:
   rc-scripts/trunk/init/rc.conf
   rc-scripts/trunk/init/rcS.conf
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- some more 'emits' and a dummy Upstart job added so the new
  'initctl check-config' won't complain.


Modified: rc-scripts/trunk/init/rc.conf
==============================================================================
--- rc-scripts/trunk/init/rc.conf	(original)
+++ rc-scripts/trunk/init/rc.conf	Wed Jun 15 14:45:05 2011
@@ -8,6 +8,15 @@
 
 emits shutdown
 
+# rc.shutdown
+emits pld.shutdown-started
+
+# /etc/rc.d/init.d/network
+emits  pld.network-starting
+emits  pld.network-started
+emits  pld.network-stopping
+emits  pld.network-stopped
+
 task
 
 export RUNLEVEL

Modified: rc-scripts/trunk/init/rcS.conf
==============================================================================
--- rc-scripts/trunk/init/rcS.conf	(original)
+++ rc-scripts/trunk/init/rcS.conf	Wed Jun 15 14:45:05 2011
@@ -7,6 +7,7 @@
 stop on runlevel
 
 emits all-swaps filesystem local-filesystems root-filesystem virtual-filesystems runlevel
+emits pld.sysinit-done
 
 task
 

Added: rc-scripts/trunk/init/udev.conf
==============================================================================
--- (empty file)
+++ rc-scripts/trunk/init/udev.conf	Wed Jun 15 14:45:05 2011
@@ -0,0 +1,6 @@
+description "dummy job"
+
+# Dummy job so, the 'udev' dependecies are satisfied although udev is not
+# started by upstart"
+
+# vi: ft=upstart

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Wed Jun 15 14:45:05 2011
@@ -254,6 +254,7 @@
 
 	if ! is_no "$START_UDEV" && [ -x /sbin/start_udev ]; then
 		/sbin/start_udev
+		[ -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