mystic/ip2location/prompt-v6.sh
2024-05-11 11:39:51 +02:00

9 lines
362 B
Bash

IP2L=$(whiptail --title "Add The IP2Location Download Client to Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
"Yes" "Add IP2Location Download Client" ON \
"No" "Don't Add IP2Location Download Client" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add DbP Script: ${BGN}$IP2L${CL}"
fi