comment_uptrack

This commit is contained in:
Milan Meduna 2019-10-19 21:07:52 +02:00
parent 456f7ab71a
commit 445f459e2b

View file

@ -197,22 +197,22 @@ read -p "Done, press any key to return to main menu"
main_menu
}
install_uptrack () {
cd /tmp
wget https://ksplice.oracle.com/uptrack/dist/disco/ksplice-uptrack.deb
apt install libgtk2-perl dbus-x11 libglade2-0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-cairo python-dbus python-gi python-glade2 python-gobject-2 python-gtk2 python-minimal python-pycurl python-yaml python2.7 python2.7-minimal -y
dpkg -i ksplice-uptrack.deb
read -p "Done, press any key to return to main menu"
echo "NOT WORKING"
main_menu
}
#install_uptrack () {
#cd /tmp
#wget https://ksplice.oracle.com/uptrack/dist/disco/ksplice-uptrack.deb
#apt install libgtk2-perl dbus-x11 libglade2-0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-cairo python-dbus python-gi python-glade2 python-gobject-2 python-gtk2 python-minimal python-pycurl python-yaml python2.7 python2.7-minimal -y
#dpkg -i ksplice-uptrack.deb
#read -p "Done, press any key to return to main menu"
#echo "NOT WORKING"
#main_menu
#}
main_menu () {
cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16)
options=(
1 "Pre-reboot script"
2 "Post-reboot script"
3 "Install uptrack-upgrade"
# 3 "Install uptrack-upgrade"
)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
@ -229,9 +229,9 @@ main_menu () {
post_reboot_script
;;
3)
install_uptrack
;;
# 3)
# install_uptrack
# ;;
esac
done