mirror of https://github.com/tteck/Proxmox.git
parent
e70da12429
commit
b078ad6d3d
|
@ -52,20 +52,21 @@ function default_settings() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
|
CHOICE=$(
|
||||||
"1" "Check for Docker Updates" 3>&2 2>&1 1>&3
|
whiptail --title "SUPPORT" --menu "Select option" 11 58 1 \
|
||||||
|
"1" "Check for Docker Updates" 3>&2 2>&1 1>&3
|
||||||
)
|
)
|
||||||
exit_status=$?
|
exit_status=$?
|
||||||
if [ $exit_status == 1 ] ; then
|
if [ $exit_status == 1 ]; then
|
||||||
clear
|
clear
|
||||||
exit-script
|
exit-script
|
||||||
fi
|
fi
|
||||||
header_info
|
header_info
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
1 )
|
1)
|
||||||
apk update && apk upgrade
|
apk update && apk upgrade
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue