diff options
author | William Hubbs <williamh@gentoo.org> | 2009-10-20 04:05:33 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2009-10-20 04:05:33 +0000 |
commit | 3ffa07612c969866fc27832cfe72cb10b87ea04f (patch) | |
tree | 4240858d5877c1805feaf403a9487869059e16f9 /sys-apps/openrc/files | |
parent | Mark s390 stable. (diff) | |
download | historical-3ffa07612c969866fc27832cfe72cb10b87ea04f.tar.gz historical-3ffa07612c969866fc27832cfe72cb10b87ea04f.tar.bz2 historical-3ffa07612c969866fc27832cfe72cb10b87ea04f.zip |
fixed iproute2 support for bug 289762. Removed oldnet from metadata.
Package-Manager: portage-2.2_rc46/cvs/Linux i686
Diffstat (limited to 'sys-apps/openrc/files')
-rw-r--r-- | sys-apps/openrc/files/0.5.2/0005-fix-iproute2-support.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/0.5.2/0005-fix-iproute2-support.patch b/sys-apps/openrc/files/0.5.2/0005-fix-iproute2-support.patch new file mode 100644 index 000000000000..e204267b63d9 --- /dev/null +++ b/sys-apps/openrc/files/0.5.2/0005-fix-iproute2-support.patch @@ -0,0 +1,31 @@ +From aa6d81180167192ad41a73e896f58db89a81d371 Mon Sep 17 00:00:00 2001 +From: William Hubbs <w.d.hubbs@gmail.com> +Date: Mon, 19 Oct 2009 22:25:40 -0500 +Subject: [PATCH] fix iproute2 support for gentoo bug 289762 + +--- + init.d/network.in | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/init.d/network.in b/init.d/network.in +index 5e60963..396c67d 100644 +--- a/init.d/network.in ++++ b/init.d/network.in +@@ -109,11 +109,11 @@ runip() + local int="$1" err= + + shift +- err=$(LC_ALL=C ip address add "$@" dev "$int" 2>&1) ++ err=$(LC_ALL=C ip address add "$@" dev "$int" brd + 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 +-- +1.6.4.4 + |