${!foo} doesn't work in ash, switch to printenv
This commit is contained in:
parent
4596bc3e88
commit
f9f9720ba7
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ let
|
|||
ip address replace $ip/$mask dev $interface
|
||||
(in_outputs ${name}
|
||||
for i in lease mask ip router siaddr dns serverid subnet opt53 interface ; do
|
||||
echo ''${!i} > $i
|
||||
printenv $i > $i
|
||||
done)
|
||||
}
|
||||
case $action in
|
||||
|
|
Loading…
Reference in a new issue