From: kaf24@localhost.localdomain Date: Mon, 28 Aug 2006 11:49:14 +0000 (+0100) Subject: [TOOLS] Remove Gentoo-specific workaround in networking X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15681^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a1a3b44764a5e0ba57baf00336e5942a45670ec0;p=xen.git [TOOLS] Remove Gentoo-specific workaround in networking scripts -- apparently it is not needed (reported by Tuan Van ). See bugzilla issue #741 for more details. Signed-off-by: Keir Fraser --- diff --git a/tools/examples/xen-network-common.sh b/tools/examples/xen-network-common.sh index 4c230a6402..46708347e3 100644 --- a/tools/examples/xen-network-common.sh +++ b/tools/examples/xen-network-common.sh @@ -44,34 +44,18 @@ then } elif ! which ifup >/dev/null 2>/dev/null then - if [ -e /etc/conf.d/net ] - then - preiftransfer() - { - true - } - ifup() - { - /etc/init.d/net.$1 start - } - ifdown() - { - /etc/init.d/net.$1 stop - } - else - preiftransfer() - { - true - } - ifup() - { - false - } - ifdown() - { - false - } - fi + preiftransfer() + { + true + } + ifup() + { + false + } + ifdown() + { + false + } else preiftransfer() {