From bdd063a7dc7994aaa69a25f8530db193725249ca Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Mar 2018 22:06:04 +0100 Subject: [PATCH] No interactive configuration of bludit --- src/freedombone-app-bludit | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/freedombone-app-bludit b/src/freedombone-app-bludit index 60c7ff8b..ce9cd482 100755 --- a/src/freedombone-app-bludit +++ b/src/freedombone-app-bludit @@ -93,35 +93,6 @@ function reconfigure_bludit { echo -n '' } -function configure_interactive_bludit { - while true - do - data=$(mktemp 2>/dev/null) - dialog --backtitle $"Freedombone Control Panel" \ - --title $"bludit" \ - --radiolist $"Choose an operation:" 16 70 3 \ - 1 $"Option 1" off \ - 2 $"Option 2" off \ - 3 $"Exit" on 2> "$data" - sel=$? - case $sel in - 1) rm -f "$data" - return;; - 255) rm -f "$data" - return;; - esac - case $(cat "$data") in - 1) # call some function for option 1 - ;; - 2) # call some function for option 2 - ;; - 3) rm -f "$data" - break;; - esac - rm -f "$data" - done -} - function upgrade_bludit { CURR_BLUDIT_COMMIT=$(get_completion_param "bludit commit") if [[ "$CURR_BLUDIT_COMMIT" == "$BLUDIT_COMMIT" ]]; then