On Mon, 10 Feb 2003, Condon Thomas A KPWA wrote: > Net Llama! <mailto:[EMAIL PROTECTED]> typed thusly on Monday, February > 10, 2003 12:40 PM: > > > On Mon, 10 Feb 2003, David A. Bandel wrote: > >> Remember all those daemons running on your system? Some > >> of them need the information provided by these files and > >> these daemons have no "environment". So where will they > >> get the right info from? > >> > >> Since the info doesn't change, I suggest you get the > >> address and name during bootup and put the correct info > >> in the file. > > > > Unfortunately, its not quite that simple. > > Couldn't you set up the environmental variable in the /etc/rc.d/rc.sysinit > file (or whatever file is executed first by init reading /etc/inittab) and > export it. It would then be available to *all* of the daemons that init > kicked off, as well as later applications. It would also be modifiable, > too, wouldn't it?
According to Dave Bandel, that wouldn't work. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lonni J Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo http://netllama.ipfox.com _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
