From 787756bd11340cd656f374cf82f35e867d100c1c Mon Sep 17 00:00:00 2001 From: Jake Day Date: Thu, 31 Jan 2019 07:14:47 -0500 Subject: [PATCH] sleep script no longer needs to unload and reload modules --- root/lib/systemd/system-sleep/sleep | 42 ++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/root/lib/systemd/system-sleep/sleep b/root/lib/systemd/system-sleep/sleep index 9bf539813ed3..aacc5b549ce0 100644 --- a/root/lib/systemd/system-sleep/sleep +++ b/root/lib/systemd/system-sleep/sleep @@ -2,30 +2,30 @@ case $1 in pre) # unload the modules before going to sleep - systemctl stop NetworkManager.service - modprobe -r intel_ipts - modprobe -r mei_me - modprobe -r mei - modprobe -r mwifiex_pcie; - modprobe -r mwifiex; - modprobe -r cfg80211; + #systemctl stop NetworkManager.service + #modprobe -r intel_ipts + #modprobe -r mei_me + #modprobe -r mei + #modprobe -r mwifiex_pcie; + #modprobe -r mwifiex; + #modprobe -r cfg80211; ;; post) # need to cycle the modules on a resume and after the reset is called, so unload... - modprobe -r intel_ipts - modprobe -r mei_me - modprobe -r mei - modprobe -r mwifiex_pcie; - modprobe -r mwifiex; - modprobe -r cfg80211; + #modprobe -r intel_ipts + #modprobe -r mei_me + #modprobe -r mei + #modprobe -r mwifiex_pcie; + #modprobe -r mwifiex; + #modprobe -r cfg80211; # and reload - modprobe -i intel_ipts - modprobe -i mei_me - modprobe -i mei - modprobe -i cfg80211; - modprobe -i mwifiex; - modprobe -i mwifiex_pcie; - echo 1 > /sys/bus/pci/rescan - systemctl restart NetworkManager.service + #modprobe -i intel_ipts + #modprobe -i mei_me + #modprobe -i mei + #modprobe -i cfg80211; + #modprobe -i mwifiex; + #modprobe -i mwifiex_pcie; + #echo 1 > /sys/bus/pci/rescan + #systemctl restart NetworkManager.service ;; esac