|
|
|
@ -52,24 +52,24 @@ function default_settings() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function update_script() {
|
|
|
|
|
while true; do
|
|
|
|
|
CHOICE=$(
|
|
|
|
|
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
|
|
|
|
|
"1" "Check for Docker Updates" 3>&2 2>&1 1>&3
|
|
|
|
|
)
|
|
|
|
|
exit_status=$?
|
|
|
|
|
if [ $exit_status == 1 ]; then
|
|
|
|
|
clear
|
|
|
|
|
exit-script
|
|
|
|
|
fi
|
|
|
|
|
header_info
|
|
|
|
|
case $CHOICE in
|
|
|
|
|
1)
|
|
|
|
|
apk update && apk upgrade
|
|
|
|
|
exit
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
|
while true; do
|
|
|
|
|
CHOICE=$(
|
|
|
|
|
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
|
|
|
|
|
"1" "Check for Docker Updates" 3>&2 2>&1 1>&3
|
|
|
|
|
)
|
|
|
|
|
exit_status=$?
|
|
|
|
|
if [ $exit_status == 1 ]; then
|
|
|
|
|
clear
|
|
|
|
|
exit-script
|
|
|
|
|
fi
|
|
|
|
|
header_info
|
|
|
|
|
case $CHOICE in
|
|
|
|
|
1)
|
|
|
|
|
apk update && apk upgrade
|
|
|
|
|
exit
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
start
|
|
|
|
|