summaryrefslogtreecommitdiff
path: root/sysutils/amanda-server/patches/patch-ah
blob: a6f021ab4b88433da601301e2f21cfb4165f96c0 (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
25
26
27
28
29
30
$NetBSD: patch-ah,v 1.4 2001/01/16 21:59:40 cjones Exp $

--- example/amanda.conf.in.orig	Tue Nov  7 18:44:50 2000
+++ example/amanda.conf.in	Mon Jan 15 14:19:56 2001
@@ -71,8 +71,8 @@
 tpchanger "chg-manual"	# the tape-changer glue script
 tapedev "@DEFAULT_TAPE_DEVICE@"	# the no-rewind tape device to be used
 rawtapedev "@DEFAULT_RAW_TAPE_DEVICE@"	# the raw device to be used (ftape only)
-changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer"
-changerfile "/usr/adm/amanda/@DEFAULT_CONFIG@/changer-status"
+changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer"
+changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer-status"
 changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
 changerdev "@DEFAULT_CHANGER_DEVICE@"
 
@@ -159,10 +159,10 @@
 # Note that, although the keyword below is infofile, it is only so for
 # historic reasons, since now it is supposed to be a directory (unless
 # you have selected some database format other than the `text' default)
-infofile "/usr/adm/amanda/@DEFAULT_CONFIG@/curinfo"	# database DIRECTORY
-logdir   "/usr/adm/amanda/@DEFAULT_CONFIG@"		# log directory
-indexdir "/usr/adm/amanda/@DEFAULT_CONFIG@/index"	# index directory
-#tapelist "/usr/adm/amanda/@DEFAULT_CONFIG@/tapelist"	# list of used tapes
+infofile "@localstatedir@/@DEFAULT_CONFIG@/curinfo"	# database DIRECTORY
+logdir   "@localstatedir@/@DEFAULT_CONFIG@"		# log directory
+indexdir "@localstatedir@/@DEFAULT_CONFIG@/index"	# index directory
+#tapelist "@localstatedir@/@DEFAULT_CONFIG@/tapelist"	# list of used tapes
 # tapelist is stored, by default, in the directory that contains amanda.conf