Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have a chroot Debian environment; I want to change the way /etc/hosts is set, because various services (in particular Kerberos) like to see the FQDN in /etc/hosts.
Assume here that my DNS323 name is foo and my domain is example.com and that I've used the DNS323 built-in GUI to set the host name to foo and the address to 172.24.8.5
the stock /etc/hosts looks like this:
127.0.0.1 localhost.localdomain localhost 172.24.8.5 foo foo
But I need it to look like this:
127.0.0.1 localhost.localdomain localhost 172.24.8.5 foo.example.com foo
Obviously, I could include code in my fun_plug to edit the file, but I'd rather see it set correctly in the first place. I'm not sure how this happens in a a normal Linux machine, so I'm a bit lost here.
Looking at the normal DNS323 boot sequence, I can see where the hostname is being set by /etc/rc.d/rc.init.sh, but I don't understand what script or process actually sets /etc/hostname.
Any pointers?
Thanks, all!
Offline