From 894445f7005d5f7367403ee59eff09a566ebf254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sun, 3 Oct 2021 23:18:54 +0200 Subject: [PATCH] make other keys in token chooseable by label --- functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions.sh b/functions.sh index 09b548b..ced721e 100755 --- a/functions.sh +++ b/functions.sh @@ -998,6 +998,11 @@ convert_to_subvolume () { } +getfreeip () { + local N=$1 + sudo nmap -v -sn -n $1 -oG - | awk '/Status: Down/{print $2}' +} + cporig () { cp -b -i "${1}" "${1}.orig"