mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-05 06:39:54 +00:00
Revert "feat(deck): Add fix for suspend with some wifi adapters."
This reverts commit 04929200614a16c16d22854924a42f42561049d8.
This commit is contained in:
parent
fc9693689b
commit
09b4090a55
@ -1,2 +0,0 @@
|
|||||||
# Line separated list of modules to unload/reload at suspend/resume.
|
|
||||||
mt7921e
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# This file runs during sleep/resume events. It will read the list of modules
|
|
||||||
# in /etc/device-quirks/systemd-suspend-mods.conf and rmmod them on suspend,
|
|
||||||
# insmod them on resume.
|
|
||||||
# Originally created by ChimeraOS
|
|
||||||
|
|
||||||
MOD_LIST=$(grep -v ^\# /etc/device-quirks/systemd-suspend-mods.conf)
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
pre)
|
|
||||||
for mod in $MOD_LIST; do
|
|
||||||
modprobe -r $mod
|
|
||||||
done
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
for mod in $MOD_LIST; do
|
|
||||||
modprobe $mod
|
|
||||||
done
|
|
||||||
;;
|
|
||||||
esac
|
|
Loading…
x
Reference in New Issue
Block a user