comment_uptrack
This commit is contained in:
parent
456f7ab71a
commit
445f459e2b
1 changed files with 13 additions and 13 deletions
26
setup-usl-mm
26
setup-usl-mm
|
@ -197,22 +197,22 @@ read -p "Done, press any key to return to main menu"
|
||||||
main_menu
|
main_menu
|
||||||
}
|
}
|
||||||
|
|
||||||
install_uptrack () {
|
#install_uptrack () {
|
||||||
cd /tmp
|
#cd /tmp
|
||||||
wget https://ksplice.oracle.com/uptrack/dist/disco/ksplice-uptrack.deb
|
#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
|
#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
|
#dpkg -i ksplice-uptrack.deb
|
||||||
read -p "Done, press any key to return to main menu"
|
#read -p "Done, press any key to return to main menu"
|
||||||
echo "NOT WORKING"
|
#echo "NOT WORKING"
|
||||||
main_menu
|
#main_menu
|
||||||
}
|
#}
|
||||||
|
|
||||||
main_menu () {
|
main_menu () {
|
||||||
cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16)
|
cmd=(dialog --nocancel --menu "Welcome in setup-lxd-mm!" 22 76 16)
|
||||||
options=(
|
options=(
|
||||||
1 "Pre-reboot script"
|
1 "Pre-reboot script"
|
||||||
2 "Post-reboot script"
|
2 "Post-reboot script"
|
||||||
3 "Install uptrack-upgrade"
|
# 3 "Install uptrack-upgrade"
|
||||||
)
|
)
|
||||||
|
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||||
|
@ -229,9 +229,9 @@ main_menu () {
|
||||||
post_reboot_script
|
post_reboot_script
|
||||||
;;
|
;;
|
||||||
|
|
||||||
3)
|
# 3)
|
||||||
install_uptrack
|
# install_uptrack
|
||||||
;;
|
# ;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue