From bb96dc4e01db2ba47c4be98dfe0f5e208df9ec2e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 10 Nov 2009 21:19:17 +0000 Subject: [PATCH] Fix iproute2 support. Fixes Gentoo #289762. --- init.d/network.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/network.in b/init.d/network.in index 7f64b171..0d45cb9b 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -112,8 +112,8 @@ runip() err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1) if [ -z "$err" ]; then # ip does not bring up the interface when adding addresses - if ! intup; then - ip set link up dev "$int" + if ! $intup; then + ip link set "$int" up intup=true fi return 0