Question about modifying hosts at startup.
Hi,
I'm trying to write a quick and simple script that will stop inetd, add an entry to the hosts file, and then restart inetd so that the changes will take effect. I want to do all of this before the login screen comes up. The reason I am doing it this way is because there is a software package called Ardence that is installed on this machine and it recreates certain files in the /etc/ directory every time the machine starts up, so it mangles with the hosts file every time. I want to be able to automatically add in an extra entry in this hosts file every time the machine boots up so that it doesn't have to be added manually every time. So my question is, what daemon(s) do I need to restart in order for the changes to take effect? Any other daemon(s) I should be worrying about? Is inetd even one of them?
Thanks!
|