raspiblitz/home.admin/97addMobileWallet.sh

44 lines
1 KiB
Bash
Raw Normal View History

2018-08-31 20:52:29 +02:00
#!/bin/bash
2018-12-21 01:22:30 +01:00
# get raspiblitz config
source /mnt/hdd/raspiblitz.conf
# check if dynamic domain is set
if [ ${#dynDomain} -eq 0 ]; then
dialog --title " Just Local Network? " --yesno "If you want to connect with your RaspiBlitz
also from outside your local network you need to
2018-12-21 01:26:23 +01:00
activate 'Services' -> 'DynamicDNS' FIRST.
2018-12-21 01:22:30 +01:00
For more details see chapter in GitHub README
2018-12-21 01:26:23 +01:00
'Public Domain with DynamicDNS'
2018-12-21 01:22:30 +01:00
https://github.com/rootzoll/raspiblitz
2018-12-21 01:32:43 +01:00
Do you JUST want to connect with your mobile
2018-12-21 01:22:30 +01:00
when your are on the same LOCAL NETWORK?
" 14 54
response=$?
case $response in
1) exit ;;
esac
fi
2018-08-31 20:52:29 +02:00
# Basic Options
OPTIONS=(ZAP "Zap Wallet (iOS)" \
2018-09-04 21:40:50 +02:00
SHANGO "Shango Wallet (iOS/Android)")
2018-08-31 20:52:29 +02:00
2018-08-31 22:02:32 +02:00
CHOICE=$(dialog --clear --title "Choose Mobile Wallet" --menu "" 10 40 6 "${OPTIONS[@]}" 2>&1 >/dev/tty)
2018-08-31 20:52:29 +02:00
clear
case $CHOICE in
CLOSE)
exit 1;
;;
SHANGO)
./97addMobileWalletShango.sh
exit 1;
;;
ZAP)
./97addMobileWalletZap.sh
exit 1;
;;
esac