diff options
author | lassulus <lass@lassul.us> | 2017-04-24 11:43:48 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-04-24 11:43:48 +0200 |
commit | ab7a5a507e910a3a9d2343cddf082417f71b225f (patch) | |
tree | eb889264ef1342174cdec607f199366836df2564 /lass/5pkgs/untilport/default.nix | |
parent | 96a49430c10ae6f3086b4e3fd16bf73d77bd9188 (diff) |
move untilport: l/5 -> k/5
Diffstat (limited to 'lass/5pkgs/untilport/default.nix')
-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 -'' |