Mark the script as executable using: sudo chmod a+x /lib/systemd/system-sleep/iwlwifi-reset usr/bin/logger $MYNAME 'restart_wifi END' # /sbin/modprobe -v iwlwifi # This starts iwldvm too ![]() ![]() # /sbin/modprobe -v -r iwldvm # This removes iwlwifi too usr/bin/logger $MYNAME 'restart_wifi BEGIN' # DESC: Resets Intel WiFi after a long suspend. # NAME: /lib/systemd/system-sleep/iwlwifi-reset Using sudo powers create the file /lib/systemd/system-sleep/iwlwifi-reset containing: #!/bin/sh
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |