Index: hylafax-6.0.7/etc/faxaddmodem.sh.in =================================================================== --- hylafax-6.0.7.orig/etc/faxaddmodem.sh.in +++ hylafax-6.0.7/etc/faxaddmodem.sh.in @@ -2029,9 +2029,11 @@ if [ $updateConfig = yes ]; then fi fi -echo "" -echo "Don't forget to run faxmodem(@MANNUM1_8@) (if you have a send-only environment)" -echo "or configure init to run faxgetty on $TTY." +systemd_device=$(echo $TTY | tr -d / -) +systemctl enable faxgetty@${systemd_device}.service +systemctl enable faxq.service +echo "A new systemd service has been created and enabled for this device." +echo "You may run it with command: systemctl start faxgetty@${systemd_device}.service" exec >/dev/null 2>&1