Desactive login krb5 temporairement car ca ne marche pas
[hvlinux.git] / stage5 / pkg / sane-backends
index b12df7c..695a11d 100644 (file)
@@ -43,9 +43,19 @@ hvbuild_post()
         # 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.