[arch-projects] [INITSCRIPTS][PATCH 5/6] rc.d: remove bad examples

Tom Gundersen teg at jklm.no
Tue Jun 12 06:16:57 EDT 2012


Looks good.

On Mon, Jun 11, 2012 at 11:10 PM, Sébastien Luttringer <seblu at seblu.net> wrote:
> rc.d must have explicit daemon name with command other than list
>
> Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
> ---
>  rc.d       |    1 -
>  rc.d.8.txt |    6 ------
>  2 files changed, 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.
>
> --
> Sebastien "Seblu" Luttringer
>


More information about the arch-projects mailing list