diff options
author | makefu <github@syntax-fehler.de> | 2017-04-25 11:05:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-04-25 11:05:58 +0200 |
commit | bcf11edfd669e8fc4d1a8bcbb86e09242acd591f (patch) | |
tree | 861ad2c649b9420d875529716191ed97c52f8950 /lass/5pkgs/untilport | |
parent | 9b813fdf07573d2d7099f8d494b7724abe1c0dc7 (diff) | |
parent | 8e9337e9ebf875b4738ac20212dc5e7404da2863 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/5pkgs/untilport')
-rw-r--r-- | lass/5pkgs/untilport/default.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lass/5pkgs/untilport/default.nix b/lass/5pkgs/untilport/default.nix deleted file mode 100644 index 61bcc2b89..000000000 --- a/lass/5pkgs/untilport/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ pkgs, ... }: - -pkgs.writeDashBin "untilport" '' - set -euf - - usage() { - echo 'untiport $target $port' - echo 'Sleeps until the destinated port is reachable.' - echo 'ex: untilport google.de 80 && echo "google is now reachable"' - } - - - if [ $# -ne 2 ]; then - usage - else - until ${pkgs.netcat-openbsd}/bin/nc -z "$@"; do sleep 1; done - fi -'' |