What's new

Script service-event With Parameters start And dnsmasq Never Runs On Boot

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

HarryMuscle

Senior Member
I'm trying to run something just before the DNSMasq server starts up and I would have assumed that the place to do so is in the service-event script looking for the start and dnsmasq parameters. However, these parameters are never supplied to the service-event script during the boot process. The only things that service-start script receives during the boot process is:

stop ntpd
start ntpd
restart stubby
restart diskmon

Just to verify the script, if I manually run service stop_dnsmasq and then service start_dnsmasq the script gets called correctly with the start and dnsmasq parameters.

So what would be the correct way to run something just before DNSMasq starts?

Thanks,
Harry
 
You could run it from /jffs/scripts/dnsmasq.postconf.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top