:: Re: [DNG] dnsmasq init.d inconsiste…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: dewaj
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] dnsmasq init.d inconsistencies
On Tue, 21 Jan 2025 09:43:59 -0500
Ken Dibble <ken@???> wrote:

> The dnsmasq init.d script fails to give the correct result code under
> certain conditions if it cannot be started.
>


do you mean "rc.dnsmasq" ?

if so, how does it return status if it cannot be started?

If you mean that the script returns "0" status when dnsmasq cannot be
started, and this is a problem, then why not remove all links to
init.d/rc.dnsmasq, and perhaps chmod a-x rc.dnsmasq, if not delete it?
it is too easy to do.

if dnsmasq is installed and executable, and that is unwanted, then it
can also be disabled as above.

This does not seem to break anything else.

Or, do it some harder or more complex way.

Whatever is most favourable for you.

ymmv and all.

cheers

--
dj