udhcpc: tweak math shell style with the metric var
No binary (build failed)
—
(log yok)
| @@ -29,7 +29,8 @@ case "$1" in | |
| metric=0 | |
| for i in $router ; do | |
| echo "Adding router $i" | |
| - | route add default gw $i dev $interface metric $((metric++)) |
| + | route add default gw $i dev $interface metric $metric |
| + | : $(( metric += 1 )) |
| done | |
| fi | |