diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/udhcp/files/udhcpc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net-misc/udhcp/files/udhcpc.sh b/net-misc/udhcp/files/udhcpc.sh index ab7be9a9d4fa..1a408eec3635 100644 --- a/net-misc/udhcp/files/udhcpc.sh +++ b/net-misc/udhcp/files/udhcpc.sh @@ -58,6 +58,7 @@ update_interface() update_routes() { + [[ -n "${PEER_ROUTERS}" ]] && [[ "${PEER_ROUTERS}" != "yes" ]] && return while route del default dev "${interface}" 2>/dev/null ; do : done |