summary refs log tree commit diff
path: root/nixos/modules/services/networking/hylafax
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2019-04-06 16:57:27 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2019-04-12 11:11:49 +0200
commite57156bcaa07ba7862f105cd1eb0145ca17b2c50 (patch)
treeed0f48512f7e76cd285dfab90f25f3eed0332a9b /nixos/modules/services/networking/hylafax
parent1438f7b66494e02588fc48759348099317353e6f (diff)
downloadnixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar.gz
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar.bz2
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar.lz
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar.xz
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.tar.zst
nixpkgs-e57156bcaa07ba7862f105cd1eb0145ca17b2c50.zip
nixos/hylafax: fix faxq `ModemGroup` setting
The manpage claims that the "limit" in the setting::
  <name>:[<limit>:]<regex>
is optional and defaults to zero, implying no limit.
However, tests confirmed that it actually isn't optional.

Without limit, the setting ``any:.*`` places
outbound jobs on infinite hold if no particular
modem was specified on the sendfax command line.
The new default value ``any:0:.*`` from
this commit uses any available modem to
send jobs if not modem was given to sendfax.
Diffstat (limited to 'nixos/modules/services/networking/hylafax')
-rw-r--r--nixos/modules/services/networking/hylafax/faxq-default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/hylafax/faxq-default.nix b/nixos/modules/services/networking/hylafax/faxq-default.nix
index a2630ce66b7..9b634650cf7 100644
--- a/nixos/modules/services/networking/hylafax/faxq-default.nix
+++ b/nixos/modules/services/networking/hylafax/faxq-default.nix
@@ -4,7 +4,7 @@
 
 {
 
-  ModemGroup = [ ''"any:.*"'' ];
+  ModemGroup = [ ''"any:0:.*"'' ];
   ServerTracing = "0x78701";
   SessionTracing = "0x78701";
   UUCPLockDir = "/var/lock";