rc-scripts/trunk/rc.d/init.d/functions
baggins
cvs at pld-linux.org
Thu Aug 11 18:55:46 CEST 2005
Author: baggins
Date: Thu Aug 11 18:55:43 2005
New Revision: 6294
Modified:
rc-scripts/trunk/rc.d/init.d/functions
Log:
- added some code for completness
Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions (original)
+++ rc-scripts/trunk/rc.d/init.d/functions Thu Aug 11 18:55:43 2005
@@ -705,7 +705,15 @@
# (("[" prog "]") == $5) ||
# ((prog ":") == $5)) { print $1 ; exit 0 } }' $1`
# if [ "$pid" != "" ]; then
-# nls "%s (pid %s) is running..." "$daemon" "$pid"
+# cpuset_msg="..."
+# if [ -n "$SERVICE_CPUSET" ]; then
+# if $(grep -q "$pid" /dev/cpuset/${SERVICE_CPUSET}/tasks); then
+# cpuset_msg=$(nls " in cpuset %s..." "$SERVICE_CPUSET")
+# else
+# cpuset_msg=$(nls " outside of configured cpuset %s..." "$SERVICE_CPUSET")
+# fi
+# fi
+# nls "%s (pid %s) is running%s" "$daemon" "$pid" "$cpuset_msg"
# return 0
# fi
fi
More information about the pld-cvs-commit
mailing list