Parcourir la source

update WOL build

Votre Nom il y a 1 an
Parent
commit
7d0804ca29
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      build_cube.sh

+ 12 - 0
build_cube.sh

@@ -158,6 +158,18 @@ fi
 if ! [ -f /home/wareck/.pass2 ]
 then
 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
 NVIDIA)
 		echo -e "$(tput setaf 10)\nInstall NVIDIA GT710 Drivers 470.$Drivers :$(tput sgr0)"