Debian Developers - Re: Bug#438885: Mass bug filling: must use invoke-rc.d

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > August 2007 > Re: Bug#438885: Mass bug filling: must use invoke-rc.d





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Bug#438885: Mass bug filling: must use invoke-rc.d
David Claughton

2007-08-24, 1:26 pm

Amaya wrote:
> In most cases the fix should be simple, replace this:
>
> /etc/init.d/package <action>
>
> with this:
>
> if which invoke-rc.d >/dev/null 2>&1; then
> invoke-rc.d package <action>
> else
> /etc/init.d/package <action>
> fi
>


Hi,

I don't want to be a pest (given I'm not a developer or maintainer), but
I'm just curious - why the conditional?

AIUI invoke-rc.d is in sysvinit - which is an Essential package. Won't
the 'which' command always succeed?

TIA,

Dave.



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com