1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
--- console/console.c 2008-08-11 23:50:20.000000000 +0200
+++ console/console.c 2008-06-09 11:25:27.000000000 +0200
@@ -105,7 +105,7 @@
static int execcmd(FILE *input, BSOCK *UA_sock);
-#define CONFIG_FILE "bconsole.conf" /* default configuration file */
+#define CONFIG_FILE "/etc/bacula/bconsole.conf" /* default configuration file */
static void usage()
{
--- dird/dird.c 2008-08-11 23:49:40.000000000 +0200
+++ dird/dird.c 2008-06-07 16:46:43.000000000 +0200
@@ -85,7 +85,7 @@
extern URES res_all;
#endif
-#define CONFIG_FILE "bacula-dir.conf" /* default configuration file */
+#define CONFIG_FILE "/etc/bacula/bacula-dir.conf" /* default configuration file */
static void usage()
{
--- filed/filed.c 2008-08-11 23:51:18.000000000 +0200
+++ filed/filed.c 2008-06-07 16:46:43.000000000 +0200
@@ -50,7 +50,7 @@
void *start_heap;
-#define CONFIG_FILE "bacula-fd.conf" /* default config file */
+#define CONFIG_FILE "/etc/bacula/bacula-fd.conf" /* default config file */
char *configfile = NULL;
static bool foreground = false;
--- gnome2-console/console.c 2008-08-11 23:50:45.000000000 +0200
+++ gnome2-console/console.c 2008-06-07 16:46:43.000000000 +0200
@@ -93,7 +93,7 @@
static guint initial;
static int numdir = 0;
-#define CONFIG_FILE "./bgnome-console.conf" /* default configuration file */
+#define CONFIG_FILE "/etc/bacula/bgnome-console.conf" /* default configuration file */
static void usage()
{
--- stored/bcopy.c 2008-08-11 23:54:48.000000000 +0200
+++ stored/bcopy.c 2008-06-07 16:46:43.000000000 +0200
@@ -61,7 +61,7 @@
static SESSION_LABEL sessrec;
static CONFIG *config;
-#define CONFIG_FILE "bacula-sd.conf"
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf"
char *configfile = NULL;
STORES *me = NULL; /* our Global resource */
bool forge_on = false; /* proceed inspite of I/O errors */
--- stored/bextract.c 2008-08-11 23:45:44.000000000 +0200
+++ stored/bextract.c 2008-06-07 16:46:43.000000000 +0200
@@ -69,5 +69,5 @@
static CONFIG *config;
-#define CONFIG_FILE "bacula-sd.conf"
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf"
char *configfile = NULL;
STORES *me = NULL; /* our Global resource */
bool forge_on = false;
--- stored/bls.c 2008-08-11 23:46:05.000000000 +0200
+++ stored/bls.c 2008-06-07 16:46:43.000000000 +0200
@@ -60,7 +60,7 @@
static uint32_t num_files = 0;
static ATTR *attr;
static CONFIG *config;
-#define CONFIG_FILE "bacula-sd.conf"
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf"
char *configfile = NULL;
STORES *me = NULL; /* our Global resource */
bool forge_on = false;
--- stored/bscan.c 2008-08-11 23:46:26.000000000 +0200
+++ stored/bscan.c 2008-06-18 21:29:26.000000000 +0200
@@ -106,4 +106,4 @@
static CONFIG *config;
-#define CONFIG_FILE "bacula-sd.conf"
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf"
char *configfile = NULL;
STORES *me = NULL; /* our Global resource */
--- stored/btape.c 2008-08-11 23:46:59.000000000 +0200
+++ stored/btape.c 2008-06-07 16:46:43.000000000 +0200
@@ -105,6 +105,6 @@
/* Static variables */
static CONFIG *config;
-#define CONFIG_FILE "bacula-sd.conf"
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf"
char *configfile = NULL;
#define MAX_CMD_ARGS 30
--- stored/stored.c 2008-08-11 23:54:32.000000000 +0200
+++ stored/stored.c 2008-06-23 11:58:34.000000000 +0200
@@ -52,7 +52,7 @@
extern "C" void *device_initialization(void *arg);
-#define CONFIG_FILE "bacula-sd.conf" /* Default config file */
+#define CONFIG_FILE "/etc/bacula/bacula-sd.conf" /* Default config file */
/* Global variables exported */
char OK_msg[] = "3000 OK\n";
--- tray-monitor/tray-monitor.c 2008-08-11 23:49:13.000000000 +0200
+++ tray-monitor/tray-monitor.c 2008-06-07 16:46:43.000000000 +0200
@@ -104,7 +104,7 @@
PangoFontDescription *font_desc = NULL;
-#define CONFIG_FILE "./tray-monitor.conf" /* default configuration file */
+#define CONFIG_FILE "/etc/bacula/tray-monitor.conf" /* default configuration file */
static void usage()
{
--- qt-console/main.cpp 2009-05-14 06:41:48.000000000 -0400
+++ qt-console/main.cpp.new 2009-07-21 23:29:37.848322986 -0400
@@ -49,7 +49,7 @@
extern bool parse_bat_config(CONFIG *config, const char *configfile, int exit_code);
-#define CONFIG_FILE "bat.conf" /* default configuration file */
+#define CONFIG_FILE "/etc/bacula/bat.conf" /* default configuration file */
/* Static variables */
static CONFIG *config;
|