On Fri, Nov 08, 2002 at 04:28:42PM +0800, Gregory Hosler wrote:
> /etc/sysconfig/network
> 
> which is read when you bring up your network (or anything that reads
> /etc/sysconfig/network)

Yup, that's where the parameters are set, but I was after where the hostname
is actually set (i.e. /etc/sysconfig/network is actually read for the first
time). Should've written it more clearly, sorry.

However, I've found it, shortly after I hut 'send' (DOH!): It's in
/etc/rc.d/rc.sysinit
That explains why it doesn't work, as rc.sysinit runs before any of the
"level" scripts.


Hence, short of changing rc.sysinit (which I don't really like), the only
solution seems to be to re-set the hostname in either my script or in
rc.local.

Cheerio,

Thomas
-- 
 http://www.netmeister.org/news/learn2quote.html
                                       ...'cause only lusers quote signatures!
     Thomas Ribbrock | http://www.ribbrock.org | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to