Koozali.org: home of the SME Server

easy Unix qn-hard for me

sam russo

easy Unix qn-hard for me
« on: October 13, 2002, 05:14:47 PM »
I am running a local DNS (static IP with registered domain). When the sme box is turned on the dns binds to interfaces before I manage to dialiup my ISP.SO when I do a netstat -na | grep 53  I notice that there is no external ip on my PPP connection. This causes huge headaches like no emailing and no website.
So to solve this  all I have to do is a
service named restart
and then all is OK as by then the modem has dialed and given the statis IP.
Is there anyway I can put some code say at the end of the  /etc/rc.d/rc.local that will do a service named restart after say 2 minutes after the machine is rebooted?

any help will be appreciated
sam