summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 822aa92f..2180d99c 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -282,7 +282,11 @@ in {
282 source = '' 282 source = ''
283 #!${pkgs.stdenv.shell} 283 #!${pkgs.stdenv.shell}
284 284
285 ${map (name: "${config.security.wrapperDir}/uucico -D -S ${name}") cfg.remoteNodes} 285 case "${2}" in
286 (?(vpn-)up)
287 ${map (name: "${config.security.wrapperDir}/uucico -D -S ${name}") cfg.remoteNodes}
288 ;;
289 esac
286 ''; 290 '';
287 }; 291 };
288 }; 292 };