xen/bridge-opensuse-11_0-temp.patch

40 lines
639 B
Diff

diff -ru a/tools/examples/xen-network-common.sh b/tools/examples/xen-network-common.sh
--- a/tools/examples/xen-network-common.sh 2008-04-10 15:24:08.000000000 -0600
+++ b/tools/examples/xen-network-common.sh 2008-04-10 15:37:33.000000000 -0600
@@ -27,26 +27,18 @@
# that the virtual device will take once the physical device has
# been renamed.
-if ! which ifup >/dev/null 2>/dev/null
-then
- preiftransfer()
- {
+preiftransfer()
+{
true
- }
- ifup()
- {
+}
+ifup()
+{
false
- }
- ifdown()
- {
+}
+ifdown()
+{
false
- }
-else
- preiftransfer()
- {
- true
- }
-fi
+}
first_file()