From 6067080b50bb610e4d524b11324f75ca307f0345 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 13 Mar 2020 09:37:04 +0000 Subject: [PATCH] 'Options-AsVar_whiptail.sh' toevoegen --- Options-AsVar_whiptail.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Options-AsVar_whiptail.sh diff --git a/Options-AsVar_whiptail.sh b/Options-AsVar_whiptail.sh new file mode 100644 index 0000000..cec8745 --- /dev/null +++ b/Options-AsVar_whiptail.sh @@ -0,0 +1,4 @@ +args=("Option 1:" "Option 1 Desription" OFF) +args+=("Option 2: " "Option 2 Desription" OFF) +args+=("Option 3: " "Option 3 Desription" OFF) +option=$(whiptail --nocancel --title "Title" --checklist "Features" 11 110 5 "${args[@]}" 3>&1 1>&2 2>&3)