suspend: fix order of modules unload
ehci_hcd is used by ehci_pci, so can't be unloaded first.
This commit is contained in:
parent
875c73ba45
commit
503ff804a3
@ -9,7 +9,7 @@ if [ x"$action" == x"suspend" ]; then
|
|||||||
for if in `ls /sys/class/net|grep -v "lo\|vif"`; do
|
for if in `ls /sys/class/net|grep -v "lo\|vif"`; do
|
||||||
ip l s $if down
|
ip l s $if down
|
||||||
done
|
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
|
lsmod|grep -q iwldvm && touch /var/run/qubes/suspend-iwldvm-loaded
|
||||||
modprobe -r iwldvm
|
modprobe -r iwldvm
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user