diff options
author | Rolf Evers-Fischer <embedded24@evers-fischer.de> | 2014-10-13 13:27:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-23 07:51:37 +0200 |
commit | 9ab02e4ec6cac824b5e09e194b529568bce68ff8 (patch) | |
tree | ace47aee634ad3080a3ee0838bafd83ca0b5372d /lib | |
parent | b07e7f3bb8f4326d529979d3c9348fbb6211951c (diff) | |
download | barebox-9ab02e4ec6cac824b5e09e194b529568bce68ff8.tar.gz barebox-9ab02e4ec6cac824b5e09e194b529568bce68ff8.tar.xz |
lib: parameter: fixed doku renamed ip -> ipaddr
Long time ago all ".ip" parameters have been replaced with ".ipaddr".
Signed-off-by: Rolf Evers-Fischer <embedded24@evers-fischer.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parameter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parameter.c b/lib/parameter.c index 84a632c34f..c4c30ca7ea 100644 --- a/lib/parameter.c +++ b/lib/parameter.c @@ -776,8 +776,8 @@ with device paramters. Device parameters are always strings, although there are functions to interpret them as something else. 'hush' users can access parameters as a local variable which have a dot (.) in them. So setting the IP address of the first ethernet device is a matter of typing -'eth0.ip=192.168.0.7' on the console and can then be read back with -'echo $eth0.ip'. The @ref devinfo_command command shows a summary about all +'eth0.ipaddr=192.168.0.7' on the console and can then be read back with +'echo $eth0.ipaddr'. The @ref devinfo_command command shows a summary about all devices currently present. If called with a device id as parameter it shows the parameters available for a device. |