From c2b45920627cfb73dd3d68d01d0cb9a79f1c4621 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 22 May 2020 19:23:31 +0200 Subject: [PATCH] undo last commit --- build_sdcard.sh | 2 +- home.admin/config.scripts/blitz.ip2tor.py | 32 ----------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 home.admin/config.scripts/blitz.ip2tor.py diff --git a/build_sdcard.sh b/build_sdcard.sh index 6bcbacad8..29bf3b643 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -586,7 +586,7 @@ echo "" echo "*** RASPIBLITZ EXTRAS ***" # for setup schell scripts -sudo apt-get -y install dialog bc python3-dialog +sudo apt-get -y install dialog bc # enable copy of blockchain from 2nd HDD formatted with exFAT sudo apt-get -y install exfat-fuse diff --git a/home.admin/config.scripts/blitz.ip2tor.py b/home.admin/config.scripts/blitz.ip2tor.py deleted file mode 100644 index 2cab09b3b..000000000 --- a/home.admin/config.scripts/blitz.ip2tor.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/python3 - -import sys -import locale -from dialog import Dialog - -# display config script info -if len(sys.argv) <= 1 or sys.argv[1] == "-h" or sys.argv[1] == "help": - print("manage ip2tor subscriptions for raspiblitz") - print("blitz.ip2tor.py menu") - sys.exit(1) - -# basic settings -locale.setlocale(locale.LC_ALL, '') - -############### -# MENU -############### - -if sys.argv[1] == "menu": - - d = Dialog(dialog="dialog",autowidgetsize=True) - d.set_background_title("IP2TOR Subscription Service") - code, tag = d.menu("OK, then you have two options:", - choices=[("(1)", "Leave this fascinating example"), - ("(2)", "Leave this fascinating example")]) - if code == d.OK: - print("OK --> ") - print(tag) - else: - print("Cancel") -