summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-31 17:07:19 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-31 17:07:19 +0200
commit25c850e43ce43780eba3e6b58e71ec05869cecfb (patch)
tree24ddc70c53657a7ce5dcec553fc753985cd22db5
parent2ef74e42fd443a03c35d450b1316a98479fef4c3 (diff)
downloadnixos-25c850e43ce43780eba3e6b58e71ec05869cecfb.tar
nixos-25c850e43ce43780eba3e6b58e71ec05869cecfb.tar.gz
nixos-25c850e43ce43780eba3e6b58e71ec05869cecfb.tar.bz2
nixos-25c850e43ce43780eba3e6b58e71ec05869cecfb.tar.xz
nixos-25c850e43ce43780eba3e6b58e71ec05869cecfb.zip
Fix script
-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 };