ia64/xen-unstable

changeset 11313:439fa5d6c5ce

[TOOLS] Remove Gentoo-specific workaround in networking
scripts -- apparently it is not needed (reported by
Tuan Van <lang.thang@gmail.com>). See bugzilla issue #741
for more details.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@localhost.localdomain
date Mon Aug 28 12:49:14 2006 +0100 (2006-08-28)
parents 0cecfb11b76b
children c61b8296b39a
files tools/examples/xen-network-common.sh
line diff
     1.1 --- a/tools/examples/xen-network-common.sh	Mon Aug 28 12:41:15 2006 +0100
     1.2 +++ b/tools/examples/xen-network-common.sh	Mon Aug 28 12:49:14 2006 +0100
     1.3 @@ -44,34 +44,18 @@ then
     1.4    }
     1.5  elif ! which ifup >/dev/null 2>/dev/null
     1.6  then
     1.7 -  if [ -e /etc/conf.d/net ]
     1.8 -  then
     1.9 -    preiftransfer()
    1.10 -    {
    1.11 -      true
    1.12 -    }
    1.13 -    ifup()
    1.14 -    {
    1.15 -      /etc/init.d/net.$1 start
    1.16 -    }
    1.17 -    ifdown()
    1.18 -    {
    1.19 -      /etc/init.d/net.$1 stop
    1.20 -    }
    1.21 -  else
    1.22 -    preiftransfer()
    1.23 -    {
    1.24 -      true
    1.25 -    }
    1.26 -    ifup()
    1.27 -    {
    1.28 -      false
    1.29 -    }
    1.30 -    ifdown()
    1.31 -    {
    1.32 -      false
    1.33 -    }
    1.34 -  fi
    1.35 +  preiftransfer()
    1.36 +  {
    1.37 +    true
    1.38 +  }
    1.39 +  ifup()
    1.40 +  {
    1.41 +    false
    1.42 +  }
    1.43 +  ifdown()
    1.44 +  {
    1.45 +    false
    1.46 +  }
    1.47  else
    1.48    preiftransfer()
    1.49    {