This commit is contained in:
Eduard Tolosa 2020-03-11 22:13:25 -05:00
parent 2024ce79bf
commit 38ef4ac9bf

View file

@ -12,9 +12,9 @@ if command -v setpci >/dev/null; then
if setpci -s 00:1c.5 0x50.B=0x40 >/dev/null; then
sleep 2
modprobe rtwpci
sleep 2
# Uncomment the next line and change it to match your network services and init in use.
# systemctl restart iwd systemd-networkd systemd-resolved
# Uncomment the next two lines and change it to match your network services and init in use.
# sleep 2
# systemctl restart iwd systemd-networkd systemd-resolved
echo "ASPM configurations applied. Restart your network services if you haven't set them in the script."
else
echo "An unknown error has occurred. Reboot and try again."