[arch-projects] [INITSCRIPTS][PATCH 2/3] rc.d: Update usage
Sebastien Luttringer
seblu at seblu.net
Fri Jun 17 21:31:06 EDT 2011
Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
rc.d | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/rc.d b/rc.d
index 23f89d4..f5dd652 100755
--- a/rc.d
+++ b/rc.d
@@ -6,9 +6,16 @@
usage() {
local name=${0##*/}
cat >&2 << EOF
-usage: $name action daemon ...
+usage: $name <action> <daemon> [daemon] ...
+ $name list [started|stopped]
+ $name help
+
+<daemon> is the name of a script in /etc/rc.d
+<action> 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
--
Sebastien "Seblu" Luttringer
More information about the arch-projects
mailing list