/proc/cmdline has the kernel parameters on my Ubuntu system On Mon, Apr 21, 2008 at 5:36 PM, Mick Pollard <[EMAIL PROTECTED]> wrote: > On Mon, 21 Apr 2008 17:25:30 +1000 > Sonia Hamilton <[EMAIL PROTECTED]> wrote: > > > On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote: > > > To automate this 'script' you could build a simple smtp profile system. > > > Grub allows you to pass extra info to it and this is made available to > > > the init process in shell variable $CMDLINE. > > > > So would one access $CMDLINE in /etc/rc.local (Ubuntu), or elsewhere? > > > I am not sure on Ubuntu ( never used it or upstart ), I can't see why it > wouldn't, but on sysv init/bsd init I know it works. > On arch linux I edit /etc/rc.multi and its available there. > > > -- > Regards > Mick Pollard ( lunix ) > ------------------------------------------------ > BOFH Excuse of the day: > Unreplicatable Proxy Interruption Signal > > > > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html >
-- Regards, Martin Martin Visser -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html