[dm-devel] [PATCH 34/42] multipath.init.suse: Update usage message
Hannes Reinecke
hare at suse.de
Tue Jan 8 13:54:12 UTC 2013
The usage message in multipath.init.suse doesn't list 'reload'.
And 'reload' is a misnomer, as it's actually a restart.
So rename 'reload' to 'restart' and add to the usage message.
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
multipath/multipath.init.suse | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/multipath/multipath.init.suse b/multipath/multipath.init.suse
index c7cd5c7..de1cc1f 100644
--- a/multipath/multipath.init.suse
+++ b/multipath/multipath.init.suse
@@ -146,12 +146,12 @@ case "$1" in
fi
rc_status -v
;;
- reload)
+ restart)
$0 stop
$0 start
;;
*)
- echo "Usage: $0 {start|stop|status}"
+ echo "Usage: $0 {start|stop|status|restart}"
exit 1
;;
esac
--
1.7.4.2
More information about the dm-devel
mailing list