[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#833177: 9.3.3.2: Remove /etc/init.d/<package>



On Mon, Aug 01, 2016 at 08:22:19PM +0200, Ondřej Nový wrote:
> 9.3.3.2 Running initscripts
> ---------------------------
> 
> Please remove usage of "/etc/init.d/package <action>" as alternative for
> invoke-rc.d
> 
> invoke-rc.d is essential

right.

> diff --git a/policy.sgml b/policy.sgml
> index 9cd182b..6395dbb 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -7773,13 +7773,8 @@ test -f <var>program-executed-later-in-script</var> || exit 0
>  	      <example compact="compact">/etc/init.d/&lt;package&gt;
>  	      &lt;action&gt;</example> in their <prgn>postinst</prgn>
>  	      and <prgn>prerm</prgn> scripts to:
> -	      <example compact="compact">
> -	if which invoke-rc.d >/dev/null 2>&1; then
> -		invoke-rc.d <var>package</var> &lt;action&gt;
> -	else
> -		/etc/init.d/<var>package</var> &lt;action&gt;
> -	fi
> -	      </example>
> +	      <example compact="compact">invoke-rc.d <var>package</var>
> +	      &lt;action&gt;</example>
>  	    </p>
>  
>  	    <p>


Seconded.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: