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
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