summaryrefslogtreecommitdiff
path: root/sysutils/scanbd/files/patch-conf_scanbd.conf
blob: f08c92a6a4d3f712b25903123ab51f18f0bb141c (plain) (blame)
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
--- conf/scanbd.conf.orig	2017-08-25 06:29:18 UTC
+++ conf/scanbd.conf
@@ -30,7 +30,7 @@ global {
 
         # debug logging
         # 1=error, 2=warn, 3=info, 4-7=debug
-        debug-level = 7
+        debug-level = 2
         
         # drop priviliges to this user
         #=============================
@@ -52,12 +52,12 @@ global {
         # *BSD (no group lp here, use daemon instead)
         # group   = daemon # root
         #
-        group   = lp
+        group   = saned
 
         # the saned executable for manager-mode
-        saned   = "/usr/sbin/saned"
+        saned   = "%%PREFIX%%/sbin/saned"
         saned_opt  = {} # string-list
-		saned_env  = { "SANE_CONFIG_DIR=/etc/scanbd" } # list of environment vars for saned
+	saned_env  = { "SANE_CONFIG_DIR=%%PREFIX%%/etc/scanbd" } # list of environment vars for saned
 
         # Scriptdir specifies where scanbd normally looks for scripts.
         # The scriptdir option can be defined as: 
@@ -68,8 +68,8 @@ global {
         # sets scriptdir to <path>/etc/scanbd/scripts.
         # scriptdir = /some/path
         # sets scriptdir to the specified absolute path
-        # Default scriptdir is <path>/etc/scanbd, this is normally appropriate
-		scriptdir = /etc/scanbd/scripts
+        # Default scriptdir is <path>/etc/scanbd, this is normally
+        scriptdir = %%PREFIX%%/etc/scanbd/scripts
         
         # Scripts to execute upon device insertion/removal.
         # It can be necessary to load firmware into the device when it is first