diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-16 17:29:38 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-16 17:29:38 +0000 |
commit | db31da44a34b96e4c242a737a7cb1bdea2c3ce1c (patch) | |
tree | 89430e2122adf408cdd058fde5802b6f6faee87d /scripts | |
parent | 802c4cab60c6d067d49b1422694a2a6858e98940 (diff) | |
download | libcg-db31da44a34b96e4c242a737a7cb1bdea2c3ce1c.tar.gz libcg-db31da44a34b96e4c242a737a7cb1bdea2c3ce1c.tar.xz libcg-db31da44a34b96e4c242a737a7cb1bdea2c3ce1c.zip |
libcgroup: Add default group to cgconfig
From: Balbir Singh <balbir@linux.vnet.ibm.com>
As discussed in the previous thread
http://article.gmane.org/gmane.comp.lib.libcg.devel/139, we don't have
the concept of default groups and tasks should be able to return back
to their default group when done.
Here is a fix to the cgconfig script to fix the issue. Please review,
comment on it.
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@238 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/init.d/cgconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/init.d/cgconfig b/scripts/init.d/cgconfig index 58dee65..507320f 100644 --- a/scripts/init.d/cgconfig +++ b/scripts/init.d/cgconfig @@ -147,7 +147,7 @@ move_all_to_init_class() { exit 1 fi - for i in `find . -type d` + for i in `find . -depth -type d` do case $i in '.') |