summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-11-20 21:40:11 +0100
committerWolfgang Denk <wd@pollux.(none)>2005-11-20 21:40:11 +0100
commitfe126d8b34d2e7c3c2dc1d4e61086018e016768c (patch)
treecf98c7ecc453853f3d8ec4093b5db2587931905b /README
parent5a164c8ca909f170354ea66835b8145c930b2807 (diff)
downloadbarebox-fe126d8b34d2e7c3c2dc1d4e61086018e016768c.tar.gz
barebox-fe126d8b34d2e7c3c2dc1d4e61086018e016768c.tar.xz
Change all '$(...)' variable references into '${...}'
which makes the environment compatible with the hush shell. WARNING: Support for the old '$(...)' syntax will be discontinued in a later version.
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index b0e1fb27c4..86db61b529 100644
--- a/README
+++ b/README
@@ -1377,7 +1377,7 @@ The following options need to be configured:
remaining RAM in a form that can be passed as boot
argument to Linux, for instance like that:
- setenv bootargs ... mem=\$(mem)
+ setenv bootargs ... mem=\${mem}
saveenv
This way you can tell Linux not to use this memory,
@@ -2546,10 +2546,10 @@ Old, simple command line parser:
- supports environment variables (through setenv / saveenv commands)
- several commands on one line, separated by ';'
-- variable substitution using "... $(name) ..." syntax
+- variable substitution using "... ${name} ..." syntax
- special characters ('$', ';') can be escaped by prefixing with '\',
for example:
- setenv bootcmd bootm \$(address)
+ setenv bootcmd bootm \${address}
- You can also escape text by enclosing in single apostrophes, for example:
setenv addip 'setenv bootargs $bootargs ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname::off'