From: Itai Raab <itai.raab@wellsense-tech.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Updating environments parameters from script
Date: Thu, 10 Mar 2011 10:04:18 +0200 [thread overview]
Message-ID: <39A4B204C321D34DA3490E3B119D5A6C68C0199AB3@SBS2008.wellsense.local> (raw)
Hi,
I would like to dynamically update a parameters defined in /env/config (e.g change kernel_loc=nand to kernel_loc=net) from the /env/bin/boot script.
Of course I would like it to be saved to the flash for next reboot.
Is there more elegant way to do it than parsing the /env/config file, modify the file and save it?
Thanks,
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
reply other threads:[~2011-03-10 8:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39A4B204C321D34DA3490E3B119D5A6C68C0199AB3@SBS2008.wellsense.local \
--to=itai.raab@wellsense-tech.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox