From e185b9a4f875a1d7d2d74202c4e9a24f69c8462f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 30 Jan 2001 17:10:14 +0000 Subject: tweak usage messages (#24085) --- rc.d/init.d/netfs | 2 +- rc.d/init.d/network | 2 +- rc.d/init.d/random | 2 +- rc.d/init.d/rawdevices | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 1994ca17..82e2547e 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -105,7 +105,7 @@ case "$1" in $0 start ;; *) - echo $"Usage: netfs {start|stop|restart|reload|status}" + echo $"Usage: $0 {start|stop|restart|reload|status}" exit 1 esac diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0a5eee57..4579af02 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -219,7 +219,7 @@ case "$1" in fi ;; *) - echo $"Usage: network {start|stop|restart|reload|status|probe}" + echo $"Usage: $0 {start|stop|restart|reload|status|probe}" exit 1 esac diff --git a/rc.d/init.d/random b/rc.d/init.d/random index d5c6370a..94176f81 100755 --- a/rc.d/init.d/random +++ b/rc.d/init.d/random @@ -53,7 +53,7 @@ case "$1" in *) # do not advertise unreasonable commands that there is no reason # to use with this device - echo $"Usage: random {start|stop|status|restart|reload}" + echo $"Usage: $0 {start|stop|status|restart|reload}" exit 1 esac diff --git a/rc.d/init.d/rawdevices b/rc.d/init.d/rawdevices index 8984fa9f..1bde3233 100755 --- a/rc.d/init.d/rawdevices +++ b/rc.d/init.d/rawdevices @@ -74,7 +74,7 @@ case "$1" in ;; *) - echo $"Usage: rawdevice {start|stop|status|restart}" + echo $"Usage: $0 {start|stop|status|restart}" exit 1 esac -- cgit v1.2.1