Installation script of "hylafax"
mkdir -p var/adm/notify/messages
cat << EOF > var/adm/notify/messages/hylafax-notify
ATTENTION!!!
------------
The faxsurvey-cgi that comes with HylaFAX contains a security hole,
that allows a user to execute system-commands, e.g. cat /etc/passwd.
Because of this reason, it'll no longer be installed.
*****************************************************************************
ACHTUNG!!!
----------
Das cgi-Script faxsurvey, dass zu HylaFAX dazugehoert, beinhaltet
eine Sicherheitsluecke, die es einem Benutzer erlaubt, Kommandos
auszufuehren. Aus diesem Grund wird dieses Script nicht mehr installiert.
EOF
if [ ! -p var/spool/fax/FIFO ] ; then
mkfifo -m 600 var/spool/fax/FIFO
fi
chown -R uucp.uucp var/spool/fax
echo "Updating etc/rc.config..."
if [ -x bin/fillup ] ; then
bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.hylafax
else
echo "ERROR: fillup not found. This should not happen. Please compare"
echo "etc/rc.config and var/adm/fillup-templates/rc.config.hylafax and"
echo "update by hand."
fi
echo "Don't forget: You have to run faxsetup before you can use"
echo " this package!!!"
(c) S.u.S.E. - Last update: 18.08.98 09:06;