parent
ec38bbbdda
commit
4df8770a90
@ -56,8 +56,11 @@ dhcpcd_start()
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# Add our route metric
|
# Add our route metric if not given
|
||||||
[ "${metric:-0}" != "0" ] && args="${args} -m ${metric}"
|
case " $args " in
|
||||||
|
*" -m "*) ;;
|
||||||
|
*) [ "${metric:-0}" != 0 ] && args="$args -m $metric";;
|
||||||
|
esac
|
||||||
|
|
||||||
# Bring up DHCP for this interface
|
# Bring up DHCP for this interface
|
||||||
ebegin "Running dhcpcd"
|
ebegin "Running dhcpcd"
|
||||||
|
Loading…
Reference in New Issue
Block a user