Author: glen
Date: Sun Sep 11 21:53:09 2011
New Revision: 12342

Added:
   rc-scripts/trunk/init/cpusets.conf
Log:
Add cpusets

Added: rc-scripts/trunk/init/cpusets.conf
==============================================================================
--- (empty file)
+++ rc-scripts/trunk/init/cpusets.conf  Sun Sep 11 21:53:09 2011
@@ -0,0 +1,25 @@
+description "Creates/Removes all cpu sets configured to start at boot time."
+
+start on pld.sysinit-done
+stop on pld.shutdown-started
+
+console output
+task
+
+pre-start script
+       # test that cpusets are configured
+       . /etc/sysconfig/system
+       if [ "${CPUSETS:-no}" = "no" ]; then
+               exit 3
+       fi
+end script
+
+script
+       export USE_UPSTART=no
+       exec /etc/rc.d/init.d/cpusets start
+end script
+
+pre-stop script
+       export USE_UPSTART=no
+       exec /etc/rc.d/init.d/cpusets stop
+end script
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to