Update generic_install.sh
added wifi backport
This commit is contained in:
parent
47ee9d8ef0
commit
b8fbadb580
@ -14,6 +14,7 @@ DATABASE=no
|
||||
NGINX=no
|
||||
INSTALL=no
|
||||
INSTALLAMD=no
|
||||
INSTALLWIFI=no
|
||||
DONVM=no
|
||||
|
||||
RED=`tput setaf 1`
|
||||
@ -58,6 +59,11 @@ case $i in
|
||||
INSTALLAMD=YES
|
||||
shift # past argument=value
|
||||
;;
|
||||
--install-wifi)
|
||||
UPDATE=YES
|
||||
INSTALLWIFI=YES
|
||||
shift
|
||||
;;
|
||||
--default)
|
||||
DEFAULT=YES
|
||||
shift # past argument with no value
|
||||
@ -198,3 +204,14 @@ if [[ $INSTALLAMD = "YES" ]]; then
|
||||
echo $sudoPW | sudo -S apt-get install mesa-vdpau-drivers
|
||||
|
||||
fi
|
||||
|
||||
if [[ $INSTALLWIFI = "YES"]]; then
|
||||
fancy_echo "${YELLOW}Installing iwlwifi...${RESET}"
|
||||
# from https://askubuntu.com/questions/1066105/how-to-install-amd-graphic-drivers-on-ubuntu-18-04
|
||||
|
||||
echo $sudoPW | sudo -S add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi
|
||||
echo $sudoPW | sudo -S apt-get update
|
||||
|
||||
echo $sudoPW | sudo -S sudo apt install backport-iwlwifi-dkms
|
||||
|
||||
fi
|
Loading…
Reference in New Issue
Block a user