Create FIFO used by faxgetty porocesses

tags/0.1.1_el5
Daniel Berteaud 10 years ago
parent f6876a8e40
commit 6a52a111bd
  1. 6
      root/var/service/faxgetty-iax/run
  2. 6
      root/var/service/faxgetty-iax2/run

@ -6,4 +6,10 @@ if [ "$STATUS" != "enabled" ]; then
sv d .
fi
if [ \!-p /var/spool/hylafax/FIFO.ttyIAX ]; then
mkfifo /var/spool/hylafax/FIFO.ttyIAX
chown uucp:uucp /var/spool/hylafax/FIFO.ttyIAX
chmod 660 /var/spool/hylafax/FIFO.ttyIAX
fi
exec /usr/sbin/faxgetty ttyIAX

@ -6,4 +6,10 @@ if [ "$STATUS" != "enabled" ]; then
sv d .
fi
if [ \!-p /var/spool/hylafax/FIFO.ttyIAX2 ]; then
mkfifo /var/spool/hylafax/FIFO.ttyIAX2
chown uucp:uucp /var/spool/hylafax/FIFO.ttyIAX2
chmod 660 /var/spool/hylafax/FIFO.ttyIAX2
fi
exec /usr/sbin/faxgetty ttyIAX2

Loading…
Cancel
Save