]> git.pld-linux.org Git - packages/fax4CUPS.git/commitdiff
- pass additional options
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 13 Mar 2005 01:51:53 +0000 (01:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fax4CUPS-hylafax.config -> 1.2
    fax4CUPS-hylafax.patch -> 1.3

fax4CUPS-hylafax.config
fax4CUPS-hylafax.patch

index 4211e90b320576ae29804735b87c835c1f5356bf..a39bd87e5d73af42bcd924fef924bd07207039ec 100644 (file)
@@ -6,3 +6,6 @@
 
 # override user passed by cups server
 # HYLAFAX_USER="someone"
+
+# additional options
+# HYLAFAX_OPT=""
index 63854e53eb91f51a10a7c61602dccf1f156887a5..26e2acd2fd81dc9b96f4d2ba9531afbf75b95ecd 100644 (file)
@@ -1,6 +1,6 @@
 diff -urN fax4CUPS-1.24.org/hylafax fax4CUPS-1.24/hylafax
 --- fax4CUPS-1.24.org/hylafax  2004-07-07 14:45:06.000000000 +0200
-+++ fax4CUPS-1.24/hylafax      2005-03-13 00:09:51.000000000 +0100
++++ fax4CUPS-1.24/hylafax      2005-03-13 02:51:52.000000000 +0100
 @@ -4,8 +4,12 @@
  NAME=""
  PAGE=a4
@@ -9,7 +9,7 @@ diff -urN fax4CUPS-1.24.org/hylafax fax4CUPS-1.24/hylafax
 +
  FAXSTAT=/usr/bin/faxstat
  
-+[ -f /etc/cups/hylafax ] && . /etc/cups/hylafax
++[ -r /etc/cups/hylafax ] && . /etc/cups/hylafax
 +
  #
  # This is fax4CUPS 1.24, a fax back-end for CUPS
@@ -50,9 +50,9 @@ diff -urN fax4CUPS-1.24.org/hylafax fax4CUPS-1.24/hylafax
  # Use sudo to make sure that job is owned by the user that wants to "print",
  # not root. This is needed so that the owner of the job can remove it if needed.
 -sudo -u $USER $FAXPRG -s $PAGE $RES -n -f $FROM -d $NUMBER $FAXNAME
-+    sudo -u $USER $FAXPRG $HHOST -s $PAGE $RES -n -f $FROM -d $NUMBER $FAXNAME
++    sudo -u $USER $FAXPRG $HYLAFAX_OPT $HHOST -s $PAGE $RES -n -f $FROM -d $NUMBER $FAXNAME
 +else
-+    $FAXPRG $HHOST -s $PAGE $RES -n -f $FROM -d $NUMBER $FAXNAME
++    $FAXPRG $HYLAFAX_OPT $HHOST -s $PAGE $RES -n -f $FROM -d $NUMBER $FAXNAME
 +fi
  
  RC=$?
This page took 0.090327 seconds and 4 git commands to generate.