Skip to content
Snippets Groups Projects
Commit bdd063a7 authored by Bob Mottram's avatar Bob Mottram
Browse files

No interactive configuration of bludit

parent 91e68c87
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment