|
@@ -92,27 +92,6 @@ function reconfigure_rocketchat {
|
92
|
92
|
echo -n ''
|
93
|
93
|
}
|
94
|
94
|
|
95
|
|
-function configure_interactive_rocketchat {
|
96
|
|
- W=(1 $"Option 1"
|
97
|
|
- 2 $"Option 2")
|
98
|
|
-
|
99
|
|
- while true
|
100
|
|
- do
|
101
|
|
- # shellcheck disable=SC2068
|
102
|
|
- selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"rocketchat" --menu $"Choose an operation, or ESC for main menu:" 14 70 3 "${W[@]}" 3>&2 2>&1 1>&3)
|
103
|
|
-
|
104
|
|
- if [ ! "$selection" ]; then
|
105
|
|
- break
|
106
|
|
- fi
|
107
|
|
- case $selection in
|
108
|
|
- 1) # call some function for option 1
|
109
|
|
- ;;
|
110
|
|
- 2) # call some function for option 2
|
111
|
|
- ;;
|
112
|
|
- esac
|
113
|
|
- done
|
114
|
|
-}
|
115
|
|
-
|
116
|
95
|
function upgrade_rocketchat {
|
117
|
96
|
echo -n ''
|
118
|
97
|
}
|