summaryrefslogtreecommitdiff
path: root/sysutils/xentools30/patches/patch-bb
blob: 289ff787d70a4d198db6308b24578d478ad1d75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bb,v 1.1.1.1 2006/07/02 16:49:31 bouyer Exp $

--- python/xen/xend/XendRoot.py.orig	2006-01-31 17:09:21.000000000 +0100
+++ python/xen/xend/XendRoot.py
@@ -40,16 +40,16 @@ class XendRoot:
     """Root of the management classes."""
 
     """Default path to the config file."""
-    config_default = "/etc/xen/xend-config.sxp"
+    config_default = "@XENDCONFDIR@/xend-config.sxp"
 
     """Environment variable used to override config_default."""
     config_var     = "XEND_CONFIG"
 
     """Where network control scripts live."""
-    network_script_dir = "/etc/xen/scripts"
+    network_script_dir = "@XENDCONFDIR@/scripts"
 
     """Where block control scripts live."""
-    block_script_dir = "/etc/xen/scripts"
+    block_script_dir = "@XENDCONFDIR@/scripts"
 
     """Default path to the log file. """
     logfile_default = "/var/log/xend.log"