aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Luttringer <seblu@seblu.net>2012-06-11 23:06:39 +0200
committerTom Gundersen <teg@jklm.no>2012-06-23 13:59:25 +0200
commitdad9b760821b8699da8efffb230c3bf564392a38 (patch)
tree90559a0011860e4b17e93e3f30e61ab65cf70368
parent9b3b01214d575f2cb9dc2009ddd203cb8ae54f35 (diff)
downloadinitscripts-dad9b760821b8699da8efffb230c3bf564392a38.tar.xz
rc.d: remove bad examples
rc.d must have explicit daemon name with command other than list Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
-rwxr-xr-xrc.d1
-rw-r--r--rc.d.8.txt6
2 files changed, 0 insertions, 7 deletions
diff --git a/rc.d b/rc.d
index 0cfbdaf..77852d7 100755
--- a/rc.d
+++ b/rc.d
@@ -23,7 +23,6 @@ e.g: $name list
$name list sshd gpm
$name list --started gpm
$name start sshd gpm
- $name stop --noauto
$name help
EOF
exit ${1:-1}
diff --git a/rc.d.8.txt b/rc.d.8.txt
index d0bbcce..0f35884 100644
--- a/rc.d.8.txt
+++ b/rc.d.8.txt
@@ -72,15 +72,9 @@ Examples[[E]]
*rc.d start sshd gpm*::
Starts *sshd* and *gpm* scripts.
-*rc.d start --auto --stopped*::
- Starts all stopped scripts which are started at startup.
-
*rc.d stop crond*::
Stops the *crond* script.
-*rc.d stop --noauto*::
- Stop all script which are not runned at startup
-
*rc.d restart crond*::
Restarts the *crond* script.