LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   running rc.dnsmasq (http://www.linuxquestions.org/questions/slackware-14/running-rc-dnsmasq-234540/)

davidsrsb 09-23-2004 09:57 PM

running rc.dnsmasq
 
I run dnsmasq on my Slackware 10.0 server. I have made rc.dnsmasq executable and ls -l shows that its permissions are the same as the other active rcs.
After start up it is not running and if I enter /etc/rc.d/rc.dsnsmasq start it runs, but I want to make this automatic.

gbonvehi 09-23-2004 10:42 PM

Add this in /etc/rc.d/rc.local or /etc/rc.d/rc.inet2

if [ -x /etc/rc.d/rc.dnsmasq ]; then
/etc/rc.d/rc.dnsmasq start
fi

davidsrsb 09-23-2004 11:12 PM

Thanks, I will put it in rc.inet2 after the bind daemon start test, which seems to be the logical place.


All times are GMT -5. The time now is 07:55 PM.