netcat-openbsd -> libressl.nc
This commit is contained in:
parent
6b4b555a58
commit
ba8a0d000a
@ -5,7 +5,7 @@
|
|||||||
MUD_SERVER=''${MUD_SERVER:-127.0.0.1}
|
MUD_SERVER=''${MUD_SERVER:-127.0.0.1}
|
||||||
MUD_PORT=''${MUD_PORT:-8080}
|
MUD_PORT=''${MUD_PORT:-8080}
|
||||||
|
|
||||||
if $(${pkgs.netcat-openbsd}/bin/nc -z "$MUD_SERVER" "$MUD_PORT"); then
|
if $(${pkgs.libressl.nc}/bin/nc -z "$MUD_SERVER" "$MUD_PORT"); then
|
||||||
${nvim}/bin/nvim \
|
${nvim}/bin/nvim \
|
||||||
+"let g:instant_username = \"$MUD_NICKNAME\"" \
|
+"let g:instant_username = \"$MUD_NICKNAME\"" \
|
||||||
+":InstantJoinSession $MUD_SERVER $MUD_PORT" \
|
+":InstantJoinSession $MUD_SERVER $MUD_PORT" \
|
||||||
|
@ -13,6 +13,6 @@ pkgs.writeDashBin "untilport" ''
|
|||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
usage
|
usage
|
||||||
else
|
else
|
||||||
until ${pkgs.netcat-openbsd}/bin/nc -z "$@"; do sleep 1; done
|
until ${pkgs.libressl.nc}/bin/nc -z "$@"; do sleep 1; done
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user