- # Fixes an obsolete udev parameter:
- sed -i 's/SYSFS/ATTRS/g' ${LFS_TMP}/${PACKAGE}/tools/sane-desc.c
+ # Group for sane server
+ hv_useradd --system -c saned -d /dev/null -g scanner -s /bin/false saned
# Addition to /etc/services (for both the client and server)
string_add "sane 6566/tcp saned # SANE Network Scanner Daemon" \
/etc/services
# Addition to /etc/services (for both the client and server)
string_add "sane 6566/tcp saned # SANE Network Scanner Daemon" \
/etc/services
if [ -z "${SANE_SERVER}" ]; then
# If 'SANE_SERVER' is not defined, then we automatically configure for
# the SANE Network Daemon.
if [ -z "${SANE_SERVER}" ]; then
# If 'SANE_SERVER' is not defined, then we automatically configure for
# the SANE Network Daemon.
# Adding entry to '/etc/sane.d/dll.conf'
#######echo "${SANE_DRIVER}" >> /etc/sane.d/dll.conf
# Creating '/etc/sane.d/saned.conf'
echo "${LAN_NETWORK_MASK}" > /etc/sane.d/saned.conf
# Adding entry to '/etc/sane.d/dll.conf'
#######echo "${SANE_DRIVER}" >> /etc/sane.d/dll.conf
# Creating '/etc/sane.d/saned.conf'
echo "${LAN_NETWORK_MASK}" > /etc/sane.d/saned.conf