Environment Variables passed to init?

Wolf Paul wnp at doulos.at
Tue Oct 30 12:37:37 GMT 2007


Hello,

Please pardon me if this list is not the proper venue for this question; I
could not figure out a more appopriate place to ask it.

In the past, on SysV-Init based Linux distros I managed to set up my
notebook to boot into different networking and other environments by setting
up multiple entries in Grub for the various locations, with LOCATION=xxxx
appended to the kernel parameter line.

This would get passed to init as an environment variable, so that in
/etc/rc.d/rc.sysinit I could
call an appropriate script to set up networking and other aspects of the
required environment for
that location.

It seems to me that the Upstart "init" does not pass such environment
variables to the scripts it calls, and thus this method of setting up a
location-dependent boot environment no longer works.

Is this observation correct?

Thanks for any information you can provide.

Wolf Paul

-- 
Wolf N. Paul - Doulos Communications
Net: wnp at doulos.at - www.doulos.at
FON: +43-1-774-1947 - +44-1708-878221 - +1-214-269-1134
GSM: +43-664-966-3970 - FAX: +43-1-817-4955-1928 - +1-563-405-4888
--
"I have not lost my mind -- it's backed up on disk somewhere." --Unknown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/upstart-devel/attachments/20071030/93c78f32/attachment.htm 


More information about the upstart-devel mailing list