From dc00e18d483cd29e0b4ccddc286f6ce4501e90ca Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 Apr 2018 13:35:40 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/uucp.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'custom') diff --git a/custom/uucp.nix b/custom/uucp.nix index 749c8e08..d8deae70 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -12,8 +12,9 @@ let '') node.hostnames); sysSpec = name: node: '' system ${name} - time Any - chat "" + time any + chat-seven-bit false + chat . "" command-path ${concatStringsSep " " cfg.commandPath} commands ${concatStringsSep " " node.commands} ${concatStringsSep "\nalternate\n" (map (port: '' @@ -32,7 +33,13 @@ let fi ''; restrictKey = key: '' - restrict,command="${config.security.wrapperDir}/uucico" ${key} + restrict,command="${chat}" ${key} + ''; + chat = pkgs.writeScript "chat" '' + #!${pkgs.stdenv.shell} + + echo . + exec ${config.security.wrapperDir}/uucico ''; nodeCfg = { -- cgit v1.2.3