HWE added
This commit is contained in:
parent
0cc054a187
commit
8733d5bb18
4 changed files with 22 additions and 2 deletions
|
@ -631,6 +631,7 @@ function usage () {
|
|||
printf " "$BOLDVERT"-q"$NORMAL" : install cardreader apps\n"
|
||||
printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech Unifying devices\n"
|
||||
printf " "$BOLDVERT"-t"$NORMAL" : install TLP for Laptops and low energy usage\n"
|
||||
printf " "$BOLDVERT"-k"$NORMAL" : install HWE (Ubuntu's Hardware Enablement Stack)(newer kernel+xorg)\n"
|
||||
printf " "$BOLDVERT"-u"$NORMAL" : update system (apt,snap,...)\n"
|
||||
printf " "$BOLDVERT"-p"$NORMAL" : clean useless packages\n"
|
||||
printf " "$BOLDVERT"-v"$NORMAL" : show verison number\n"
|
||||
|
|
|
@ -441,6 +441,7 @@ function showHardwareMenu () {
|
|||
--title "Yggdrasil $version - System Tools" \
|
||||
--menu "System tools to diagnose and optimize" \
|
||||
25 80 16 \
|
||||
"HWE" "Ubuntu Hardware Enablement Stack (newer kernel+xorg)" \
|
||||
"cardreader" "Apps/tools needed for cardreaders" \
|
||||
"solaar" "Solaar for Logitech Unifying devices" \
|
||||
"webcam" "Install webcam neede apps" \
|
||||
|
@ -451,6 +452,9 @@ function showHardwareMenu () {
|
|||
"Back" "Back" 3>&1 1>&2 2>&3)
|
||||
|
||||
case $hardwareMenuOptions in
|
||||
"HWE")
|
||||
installAppsFromListMenu hwe
|
||||
;;
|
||||
"cardreader")
|
||||
installAppsFromListMenu cardreader
|
||||
;;
|
||||
|
|
|
@ -392,7 +392,11 @@ calibre;apt;ebook;calibre
|
|||
android-studio;apt;androidstudio;androidstudio
|
||||
intellij-idea-community;snap;idea;idea
|
||||
eclipse;snap;eclipse;eclipse
|
||||
gitkraken;snap;gitkraken;gitkraken"
|
||||
gitkraken;snap;gitkraken;gitkraken
|
||||
xserver-xorg-hwe-18.04;apt;hwe;xserver-xorg-hwe-18.04
|
||||
xserver-xorg-video-all-hwe-18.04;apt;hwe;xserver-xorg-video-all-hwe-18.04
|
||||
linux-generic-hwe-18.04;apt;hwe;linux-generic-hwe-18.04
|
||||
linux-hwe-tools;apt;hwe;linux-hwe-tools"
|
||||
|
||||
#-----------------------------------------------------------------------------#
|
||||
# Specific Repo list and functions #
|
||||
|
|
13
yggdrasil.sh
13
yggdrasil.sh
|
@ -62,7 +62,7 @@ echo "--[ Yggdrasil log ]--[ "$cDate" ]--[ "$cTime" ]-----------------------" >>
|
|||
#
|
||||
# arguments/options management with getopts
|
||||
|
||||
while getopts ":h,v,f,c,u,a,d,q,s,t,w,p" option; do
|
||||
while getopts ":h,v,f,c,u,a,d,q,s,t,w,k,p" option; do
|
||||
case "$option" in
|
||||
a) # install all apps
|
||||
if [ $ygginitCount = false ]; then
|
||||
|
@ -222,6 +222,17 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,w,p" option; do
|
|||
msg "Installing TLP"
|
||||
installAppsFromList tlp
|
||||
;;
|
||||
k) # Ubuntu Hardware Enablement Stack
|
||||
if [ $ygginitCount = false ]; then
|
||||
msg "Initializing"
|
||||
yggInit
|
||||
msg "Updating the system"
|
||||
updateSystem
|
||||
ygginitCount=true
|
||||
fi
|
||||
msg "Installing HWE (newer kernel+xorg)"
|
||||
installAppsFromList hwe
|
||||
;;
|
||||
u)
|
||||
msg "Initializing"
|
||||
yggInit
|
||||
|
|
Loading…
Reference in a new issue