SVN: rc-scripts/trunk/init/cpusets.conf
glen
glen at pld-linux.org
Sun Sep 11 21:53:09 CEST 2011
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
More information about the pld-cvs-commit
mailing list