Package: capi4hylafax Version: 1:01.03.00.99.svn.300-12
---------- snip ---------- # This function clones the /etc directory into the chroot() directory # Usually hylafax does that for us, but if it isn't running, # we have to do it ourselves, even if we don't run c2faxrecv (for c2faxsend) copy_slash_etc() { local SPOOL SPOOL=/var/spool/hylafax/ if ! [ -d "${SPOOL}/etc" ]; then mkdir -p "${SPOOL}/etc" || true fi if [ -d "${SPOOL}/etc" ]; then cp -a "/etc/hylafax/config.faxCAPI" "$SPOOL/etc" else echo "Can't create directory ${SPOOL}/etc" 1>&2 exit 1 fi } ---------- snap ---------- Please don't hardcode the config.faxCAPI configuration file in the init-script of capi4hylafax as the filename might differ and capi4hylafax refuses to start: mailsrv1:/etc/hylafax# /etc/init.d/capi4hylafax start cp: cannot stat `/etc/hylafax/config.faxCAPI': No such file or directory thanks -- Stefan Bauer ----------------------------------------- PGP: 36D1 1570 DCAD B767 EABE F60D 6BCA 7AD4 79EB C4EC -------- plzk.de - Linux - because it works ---------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org