mystic/mrc-server/prompt-v1.sh

9 lines
371 B
Bash
Raw Normal View History

2024-04-20 11:07:14 +02:00
MRCSERVER=$(whiptail --title "Multi Relay Chat Server Support in Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
2024-04-20 12:20:30 +02:00
"Yes" "Add MrC Server Support" OFF \
"No" "Don't add MrC Server Support" ON \
2024-04-20 11:07:14 +02:00
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add Multi Realy Chat Server Support: ${BGN}$MRCSERVER${CL}"
fi