diff --git a/init.d/lo.iface b/init.d/lo.iface index 3d5afa3..4af61d0 100755 --- a/init.d/lo.iface +++ b/init.d/lo.iface @@ -9,7 +9,7 @@ service_args="link set $cfg_iface up" wait_for_iface() { local iface="$1" timer='0' timeout='6' - until [[ "ip link show $iface up" ]]; do + until [[ "$(ip link show $iface up)" ]]; do (( timer >= timeout )) && { return 1; } (( timer++ )) done