From f03fc83c4f2dc5bf91ff6bfcd675c92afba024a8 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 4 Oct 2023 14:15:23 +0200 Subject: [PATCH] more vars --- lib.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index b157cf5..4c1a0bf 100644 --- a/lib.sh +++ b/lib.sh @@ -6,11 +6,19 @@ true ############ Variables +# PATH & DIR RUSTDESK_INSTALL_DIR=/var/lib/rustdesk-server RUSTDESK_LOG_DIR=/var/log/rustdesk-server +# OS ARCH=$(uname -m) -TITLE="RustDesk Linux installer" +# Network WANIP4=$(curl -s -k -m 5 -4 https://api64.ipify.org) +# Whiptail menus +TITLE="RustDesk Setup - $(date +%Y)" +[ -n "$SCRIPT_NAME" ] && TITLE+=" - $SCRIPT_NAME" +CHECKLIST_GUIDE="Navigate with the [ARROW] keys and (de)select with the [SPACE] key. \ +Confirm by pressing [ENTER]. Cancel by pressing [ESC]." +MENU_GUIDE="Navigate with the [ARROW] keys and confirm by pressing [ENTER]. Cancel by pressing [ESC]." ############ Functions