aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-09-01 10:45:50 +0000
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>2005-09-01 10:45:50 +0000
commitfdda579ede6de2a4f182fc0553c3758c3365cfd4 (patch)
tree59d66bc68b3efdde0e4e43f11dea0e5280e10f4a
parentc72528e6beafc77f764c6c2a31573d372f2872e7 (diff)
downloadxen-fdda579ede6de2a4f182fc0553c3758c3365cfd4.tar.gz
xen-fdda579ede6de2a4f182fc0553c3758c3365cfd4.tar.bz2
xen-fdda579ede6de2a4f182fc0553c3758c3365cfd4.zip
Fix network setup through hotplug on SUSE.
Move the hotplug script from /etc/hotplug.d/xen-backend/backend.hotplug to /etc/hotplug/xen-backend.agent, which seems to be a more common place for the script. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/examples/backend.hotplug => tools/examples/xen-backend.agent
-rw-r--r--Makefile2
-rw-r--r--tools/examples/Makefile4
-rwxr-xr-xtools/examples/xen-backend.agent (renamed from tools/examples/backend.hotplug)0
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a6773b1c2..3b50ec6436 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,8 @@ uninstall:
rm -rf $(D)/usr/share/man/man1/xen*
rm -rf $(D)/usr/share/man/man8/xen*
rm -rf $(D)/usr/lib/xen
+ rm -rf $(D)/etc/hotplug.d/xen-backend
+ rm -rf $(D)/etc/hotplug/xen-backend.agent
# Legacy targets for compatibility
linux24:
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index c196978f85..c4cbf8ed94 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -27,8 +27,8 @@ XEN_SCRIPTS += block-enbd
XEN_BOOT_DIR = /usr/lib/xen/boot
XEN_BOOT = mem-map.sxp
-XEN_HOTPLUG_DIR = /etc/hotplug.d/xen-backend
-XEN_HOTPLUG_SCRIPTS = backend.hotplug
+XEN_HOTPLUG_DIR = /etc/hotplug
+XEN_HOTPLUG_SCRIPTS = xen-backend.agent
all:
build:
diff --git a/tools/examples/backend.hotplug b/tools/examples/xen-backend.agent
index a708aad8f3..a708aad8f3 100755
--- a/tools/examples/backend.hotplug
+++ b/tools/examples/xen-backend.agent