]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Init scripts patch
authorIvana Hutarova Varekova <varekova@redhat.com>
Wed, 14 Jul 2010 12:30:48 +0000 (14:30 +0200)
committerDhaval Giani <dhaval.giani@gmail.com>
Tue, 27 Jul 2010 08:34:38 +0000 (10:34 +0200)
commit023fee998f07499938830a044845eb03b816eea7
treeccf8f9f112bcb83204693816158db0a7ea7f3dce
parentc4b3d1badd067954ab59970c93d98ff3408c641f
Init scripts patch

This patch fixes the return values to meet the standarts.

changed values are:
cgconfig:
 * start  action: 6: program is not configured
 * status action: 3: program is not running

cgred:
 * start  action: 7: program is not running
 * start  action: 6: program is not configured
 * status action: 3: program is not running
 * status action: 2: program is dead and /var/run pid file exists
 * stop   action: 0: if the service is not running

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.com>
scripts/init.d/cgconfig.in
scripts/init.d/cgred.in