projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed72761
)
service/fw example: do not ruin $if[], use different name
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 30 Jul 2016 20:29:10 +0000
(22:29 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 30 Jul 2016 20:29:10 +0000
(22:29 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
examples/var_service/fw/run
patch
|
blob
|
history
diff --git
a/examples/var_service/fw/run
b/examples/var_service/fw/run
index 871a70545437c49897af37a303f662bd3740f6e8..1fd71cc010eeb5f68493789a6a16468b45d25cd7 100755
(executable)
--- a/
examples/var_service/fw/run
+++ b/
examples/var_service/fw/run
@@
-89,9
+89,9
@@
echo; echo "* Configuring hardware"
echo; echo "* Resetting address and routing info"
if $reset_all_netdevs; then
devs=`sed -n 's/ //g;s/:.*$//p' </proc/net/dev`
- for if in $devs; do
- doit ip a f dev "$if"
- doit ip r f dev "$if" root 0/0
+ for if
ace
in $devs; do
+ doit ip a f dev "$if
ace
"
+ doit ip r f dev "$if
ace
" root 0/0
done
else
doit ip a f dev lo