summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-03-31 21:34:44 +0200
committerReinhard Tartler <siretart@tauware.de>2009-03-31 21:34:44 +0200
commitd2183f09d77e298a9119cb523b9be801ecc08865 (patch)
tree00276848110789dbfe807a11ba0bf5e581b0cc0b /lib
parenta4c340d99914b0d99b327339ad15b2e9684b5023 (diff)
add 01-adjust_config_basedir.diff as quilt patch, unapply from source tree
Diffstat (limited to 'lib')
-rw-r--r--lib/common/BoxPortsAndFiles.h.in6
-rw-r--r--lib/raidfile/RaidFileController.h2
-rwxr-xr-xlib/raidfile/raidfile-config.in2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/common/BoxPortsAndFiles.h.in b/lib/common/BoxPortsAndFiles.h.in
index fd34a3bb..fcc0ddce 100644
--- a/lib/common/BoxPortsAndFiles.h.in
+++ b/lib/common/BoxPortsAndFiles.h.in
@@ -31,9 +31,9 @@
#define BOX_GET_DEFAULT_BBSTORED_CONFIG_FILE \
GetDefaultConfigFilePath("bbstored.conf").c_str()
#else
-#define BOX_FILE_BBACKUPD_DEFAULT_CONFIG "@sysconfdir_expanded@/boxbackup/bbackupd.conf"
-#define BOX_FILE_RAIDFILE_DEFAULT_CONFIG "@sysconfdir_expanded@/boxbackup/raidfile.conf"
-#define BOX_FILE_BBSTORED_DEFAULT_CONFIG "@sysconfdir_expanded@/boxbackup/bbstored.conf"
+#define BOX_FILE_BBACKUPD_DEFAULT_CONFIG "@sysconfdir_expanded@/box/bbackupd.conf"
+#define BOX_FILE_RAIDFILE_DEFAULT_CONFIG "@sysconfdir_expanded@/box/raidfile.conf"
+#define BOX_FILE_BBSTORED_DEFAULT_CONFIG "@sysconfdir_expanded@/box/bbstored.conf"
#endif
#endif // BOXPORTSANDFILES__H
diff --git a/lib/raidfile/RaidFileController.h b/lib/raidfile/RaidFileController.h
index 216bdf3a..783cb055 100644
--- a/lib/raidfile/RaidFileController.h
+++ b/lib/raidfile/RaidFileController.h
@@ -82,7 +82,7 @@ public:
public:
void Initialise(const std::string& rConfigFilename =
- "/etc/boxbackup/raidfile.conf");
+ "/etc/box/raidfile.conf");
int GetNumDiscSets() {return mSetList.size();}
// --------------------------------------------------------------------------
diff --git a/lib/raidfile/raidfile-config.in b/lib/raidfile/raidfile-config.in
index b8ea73a5..76b65ace 100755
--- a/lib/raidfile/raidfile-config.in
+++ b/lib/raidfile/raidfile-config.in
@@ -19,7 +19,7 @@ Usage:
raidfile-config config-dir block-size dir0 [dir1 dir2]
Parameters:
- config-dir is usually @sysconfdir_expanded@/boxbackup
+ config-dir is usually @sysconfdir_expanded@/box
block-size must be a power of two, and usually the block or
fragment size of your file system
dir0, dir1, dir2 are the directories used as the root of the raid