Browse Source

update WOL build

Votre Nom 1 year ago
parent
commit
7d0804ca29
1 changed files with 12 additions and 0 deletions
  1. 12 0
      build_cube.sh

+ 12 - 0
build_cube.sh

@@ -158,6 +158,18 @@ fi
 if ! [ -f /home/wareck/.pass2 ]
 if ! [ -f /home/wareck/.pass2 ]
 then
 then
 sleep 2
 sleep 2
+if lspci -v | grep "Atheros QCA8171" >/dev/null
+then
+echo -e "$(tput setaf 10)\nAtheros QCA8171 detected WOL patching :$(tput sgr0)"
+sleep 2
+cp /home/wareck/Build_Cube/options/tools/kernel_patch.tar.xz /tmp
+cd /tmp
+tar xvfJ kernel_patch.tar.xz
+cd /tmp/kernel_patch/alx_dkms_installer/
+./setup
+sleep 1
+fi
+
 case $Drivers in
 case $Drivers in
 NVIDIA)
 NVIDIA)
 		echo -e "$(tput setaf 10)\nInstall NVIDIA GT710 Drivers 470.$Drivers :$(tput sgr0)"
 		echo -e "$(tput setaf 10)\nInstall NVIDIA GT710 Drivers 470.$Drivers :$(tput sgr0)"