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

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



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.




Reply to: