From 89a7dbb52543dd98d86440dfe8dd04e752f55337 Mon Sep 17 00:00:00 2001 From: Sebastien Luttringer Date: Sat, 18 Jun 2011 02:46:35 +0200 Subject: rc.d: Update usage Signed-off-by: Sebastien Luttringer --- rc.d | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'rc.d') diff --git a/rc.d b/rc.d index ad0a1e9..939538e 100755 --- a/rc.d +++ b/rc.d @@ -6,9 +6,16 @@ usage() { local name=${0##*/} cat >&2 << EOF -usage: $name action daemon ... +usage: $name [daemon] ... + $name list [started|stopped] + $name help + + is the name of a script in /etc/rc.d + can be a start, stop, restart, reload, status, ... +WARNING: initscripts are free to implement or not the above actions. e.g: $name list + $name list started $name help $name start sshd gpm EOF -- cgit v1.2.3-54-g00ecf