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

Re: use of "invoke-rc.d $PACKAGE stop || exit $?" in prerm scripts



Michael Prokop wrote:

> But /etc/init.d/$PACKAGE is executed only, if "[ -x "`which
> invoke-rc.d 2>/dev/null`" ]" fails. And I still don't see what's the

Ah, I entirely misunderstood your intention. I thought you want to get rid
of this if condition and execute the commands one after the other. Sorry
for the noise.

Cheers,
        Bernd



Reply to: