X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fsane-backends;h=695a11d77cc7e06b60bddd6c53e7ea492866a29c;hb=cd68b17a1d099da4165c6502f3c37a99ddbe306c;hp=b12df7c3b23143d7cf2305dd396587feaad2c4e4;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/sane-backends b/stage5/pkg/sane-backends index b12df7c..695a11d 100644 --- a/stage5/pkg/sane-backends +++ b/stage5/pkg/sane-backends @@ -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.