projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout support SSL pour SSMTP
[hvlinux.git]
/
stage5
/
pkg
/
sane-backends
diff --git
a/stage5/pkg/sane-backends
b/stage5/pkg/sane-backends
index
b12df7c
..
02a9200
100644
(file)
--- a/
stage5/pkg/sane-backends
+++ b/
stage5/pkg/sane-backends
@@
-23,7
+23,7
@@
hvconfig_pre()
hvbuild_post()
{
hvbuild_post()
{
- install -
m 644 -v
tools/udev/libsane.rules \
+ install -
v -m 644
tools/udev/libsane.rules \
/etc/udev/rules.d/65-scanner.rules
# Addition to /etc/services (for both the client and server)
/etc/udev/rules.d/65-scanner.rules
# Addition to /etc/services (for both the client and server)
@@
-43,9
+43,19
@@
hvbuild_post()
# Creating '/etc/sane.d/saned.conf'
echo "${LAN_NETWORK_MASK}" > /etc/sane.d/saned.conf
# Creating '/etc/sane.d/saned.conf'
echo "${LAN_NETWORK_MASK}" > /etc/sane.d/saned.conf
- # Addition to /etc/inetd.conf
- string_add "sane stream tcp nowait saned /usr/sbin/tcpd saned" \
- /etc/inetd.conf
+ # Addition to xinetd
+ cat > /etc/xinetd.d/saned << "EOF"
+service sane
+{
+ disable = no
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = saned
+ server = /usr/sbin/saned
+ log_type = SYSLOG local4 info
+}
+EOF
else
# If 'SANE_SERVER' is defined, then we must specify the address of the
# remote SANE server to use.
else
# If 'SANE_SERVER' is defined, then we must specify the address of the
# remote SANE server to use.