5982c6a6ed
(it should be the last release of the SANE 1.0 series) - some port cleanups while here
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
$OpenBSD: patch-doc_saned_man,v 1.4 2008/02/13 13:23:58 ajacoutot Exp $
|
|
--- doc/saned.man.orig Sat Nov 26 06:31:26 2005
|
|
+++ doc/saned.man Tue Feb 12 11:40:39 2008
|
|
@@ -92,7 +92,7 @@ support IPv6, check the documentation for your inetd d
|
|
The configuration line normally looks like this:
|
|
.PP
|
|
.RS
|
|
-sane-port stream tcp nowait saned.saned @SBINDIR@/saned saned
|
|
+sane-port stream tcp nowait _saned._saned @SBINDIR@/saned saned
|
|
.RE
|
|
.PP
|
|
However, if your system uses
|
|
@@ -105,16 +105,16 @@ and use a line of the following form in
|
|
instead:
|
|
.PP
|
|
.RS
|
|
-sane-port stream tcp nowait saned.saned /usr/sbin/tcpd @SBINDIR@/saned
|
|
+sane-port stream tcp nowait _saned._saned /usr/libexec/tcpd @SBINDIR@/saned
|
|
.RE
|
|
.PP
|
|
Note that both examples assume that there is a
|
|
-.B saned
|
|
+.B _saned
|
|
group and a
|
|
-.B saned
|
|
+.B _saned
|
|
user. If you follow this example, please make sure that the
|
|
access permissions on the special device are set such that
|
|
-.B saned
|
|
+.B _saned
|
|
can access the scanner (the program generally needs read and
|
|
write access to scanner devices).
|
|
.PP
|
|
@@ -133,8 +133,8 @@ service sane-port
|
|
port = 6566
|
|
socket_type = stream
|
|
wait = no
|
|
- user = saned
|
|
- group = saned
|
|
+ user = _saned
|
|
+ group = _saned
|
|
server = @SBINDIR@/saned
|
|
}
|
|
.fi
|