I wish to add a simple callbook server on the local node
and find the QRZ cdrom adequate. My problem is the environment
requires QRZPATH=/whatever/i/decide
I added this to /etc/profile which works fine for all but those
connected through Linuxnode, which, when QRZ is called, says the
environment variable needs to be set.
How do I set the environment before login?
or...
The question is: Can I set the environment var for the entire
system before /etc/profile is read or is it easier (or required)
to start the node software in rc.local from a script like this:
rc.local:
...
/bin/node.script
...
#!/bin/sh
#export QRZPATH=/whatever/i/decide
#
#exec /all/the/node/stuff
#
This is probably another UNIX newbie question. Hopefully the question
makes sense :-)
Sincerely,
JC
tofgld@limes.kompakt.pl