From 1e2fd5a34e1198f5573a71836460c9bcdd8f09ea Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 29 Oct 2008 17:26:59 +0000 Subject: [PATCH 1/1] don't bring down interfaces when preparing them SVN-Revision: 13079 --- package/base-files/files/lib/network/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index dfee674915..b89168e07c 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -90,8 +90,8 @@ prepare_interface() { [ "br-$config" = "$iface" -o -e "$iface" ] && return 0; ifconfig "$iface" 2>/dev/null >/dev/null && { - # make sure the interface is removed from any existing bridge and brought down - ifconfig "$iface" down + # make sure the interface is removed from any existing bridge and deconfigured + ifconfig "$iface" 0.0.0.0 unbridge "$iface" } -- 2.30.2