diff options
Diffstat (limited to 'etc/rc.d/defaultroute')
-rwxr-xr-x | etc/rc.d/defaultroute | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/defaultroute b/etc/rc.d/defaultroute index b4dc373..647dc41 100755 --- a/etc/rc.d/defaultroute +++ b/etc/rc.d/defaultroute @@ -28,7 +28,7 @@ defaultroute_start() [ -z "${dhcp_interfaces}" ] && return carrier=false for _if in ${dhcp_interfaces}; do - output=`/sbin/ifconfig ${_if}` + output=`/sbin/ifconfig ${_if}` nocarrier=`expr "${output}" : '.*[[:blank:]]status: \(no carrier\)'` [ -z "${nocarrier}" ] && carrier=true done |