Seemant found that doing "/etc/init.d/net.ath0 start" when there is no ath0 interface on the system results in a cryptic bash error. I think this is because _ifindex() in the ifconfig module returned an empty string. Then the following calculation in start() failed: metric=$((${metric} + $(_ifindex))) I guess there should be some earlier check for interface existence. This was with baselayout-2.0.0_alpha1
Fixed in baselayout-2.0.0_alpha2