more vars
This commit is contained in:
parent
57862cb63f
commit
f03fc83c4f
10
lib.sh
10
lib.sh
@ -6,11 +6,19 @@ true
|
|||||||
|
|
||||||
############ Variables
|
############ Variables
|
||||||
|
|
||||||
|
# PATH & DIR
|
||||||
RUSTDESK_INSTALL_DIR=/var/lib/rustdesk-server
|
RUSTDESK_INSTALL_DIR=/var/lib/rustdesk-server
|
||||||
RUSTDESK_LOG_DIR=/var/log/rustdesk-server
|
RUSTDESK_LOG_DIR=/var/log/rustdesk-server
|
||||||
|
# OS
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
TITLE="RustDesk Linux installer"
|
# Network
|
||||||
WANIP4=$(curl -s -k -m 5 -4 https://api64.ipify.org)
|
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
|
############ Functions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user