suspend: fix order of modules unload

ehci_hcd is used by ehci_pci, so can't be unloaded first.
This commit is contained in:
Marek Marczykowski-Górecki 2013-10-22 16:51:38 +02:00
parent 875c73ba45
commit 503ff804a3

View File

@ -9,7 +9,7 @@ if [ x"$action" == x"suspend" ]; then
for if in `ls /sys/class/net|grep -v "lo\|vif"`; do
ip l s $if down
done
modprobe -r uhci_hcd ehci_hcd ehci_pci
modprobe -r uhci_hcd ehci_pci ehci_hcd
lsmod|grep -q iwldvm && touch /var/run/qubes/suspend-iwldvm-loaded
modprobe -r iwldvm
else