summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-26 11:53:08 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-26 11:53:08 +0000
commit8da65f1397acc2acb73d3e2da46808516bd9cd08 (patch)
tree4942f6db59122a9bb1d6c904965d1081d4ad4c2b /scripts
parent472d63587b6d9b602e870592c779a51bc8e3fd64 (diff)
downloadlibcg-8da65f1397acc2acb73d3e2da46808516bd9cd08.zip
libcg-8da65f1397acc2acb73d3e2da46808516bd9cd08.tar.gz
libcg-8da65f1397acc2acb73d3e2da46808516bd9cd08.tar.xz
bcgroup: Rename 'flash' to 'reload'
LSB specifies that 'reload' is the right initscript parameter to stimulate daemon to reread its configuration file. I let the 'flash' still working, in case somebody is used to it, but do not advertise it anywhere. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Acked-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@352 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'scripts')
-rw-r--r--scripts/init.d/cgred4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/init.d/cgred b/scripts/init.d/cgred
index e89c13e..73ca480 100644
--- a/scripts/init.d/cgred
+++ b/scripts/init.d/cgred
@@ -111,7 +111,7 @@ case "$1" in
start
fi
;;
- flash)
+ reload|flash)
if [ -f /var/lock/subsys/$servicename ] ; then
echo $"Reloading rules configuration..."
kill -s 12 `cat ${pidfile}`
@@ -122,7 +122,7 @@ case "$1" in
fi
;;
*)
- echo $"Usage: $0 {start|stop|status|restart|condrestart|flash}"
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
;;
esac