[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting up environment variables



> I was unaware of the /etc/environment directory. Is this a Debian thing?
> A linux thing? An X thing?

Seems debian-specific.

http://lists.debian.org/debian-user/2005/01/msg04226.html

Right now I'm having a problem with UML and
i found a solution.

# mount root_fs mnt-uml/ -o loop
# echo "LD_ASSUME_KERNEL=2.4.1" >> /mnt-uml/etc/environment
# umount mnt-uml/

I'm curious. Is there a way to tell sysvinit to add something
to the environment, perhaps in inittab?

Nelson.-

-- 
Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
     -- Richard Feynman.



Reply to: