1
0
Fork 0

tuned.initscript: "usage" follows common usage policy, fixed indentation

This commit is contained in:
Petr Lautrbach 2009-09-21 14:23:45 +02:00
parent b1f1e60c4d
commit 47829cd592

View file

@ -80,11 +80,6 @@ usage() {
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
}
if [ $# -eq 0 ]; then
usage
exit 0
fi
case "$1" in
start)
rh_status_q && exit 0
@ -111,6 +106,10 @@ case "$1" in
rh_status_q || exit 0
restart
;;
usage)
usage
exit 0
;;
*)
usage
exit 2