Sounds like a Red Hat box since you have a /etc/rc.d/rc.local file. That should absolutely work.
Your other choice might be to edit the run level directory and stick them there.
Example...
Create a file named S99mytables
write your script in there and make it executable.
Put this script file in the appropirate rc.d directory. I always boot into run level 3, so I would put the S99 script in the /etc/rc.d/rc3.d directory.
I am a little at a loss as why it does not run from rc.local. On my RH box, I start the named and dhcp daemon from there.
If you are not clearing the firewall, I do not understand why it isn't staying as valid entries anyway.
|