[Discuss] environment variables in debian

Lionel Widdifield lwiddif-vlug at nexus.spydernet.com
Wed May 21 10:23:39 PDT 2008


On Tue, May 20, 2008 at 02:03:13PM -0700, pw wrote:
> I have a driver that requires me to set a global environment
> variable to point to a directory with firmware for the
> PCI card.
> 
> The trouble is that, during boot, Debian does not appear to use
> the environment variables from '/etc/environment'.


/sbin/init runs /etc/init.d/rcS at boot

/etc/init.d/rcS sources /etc/default/rcS

so add the needed boottime variables to /etc/default/rcS

OUT_OF_TREE_FIRMWARE=/dir/
export OUT_OF_TREE_FIRMWARE


-- 
   Lionel Widdifield                  [] Spydernet Resources
                                      [] P.O. Box 5412
   lwiddif-sig at spydernet.com          [] Victoria BC, Canada  V8R 6S4  


More information about the Discuss mailing list