mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
packaging: Fix: explicitly unload old tuxedo_cc_wmi at rpm install
This commit is contained in:
parent
4aa71e4ef0
commit
3100646b69
|
@ -88,6 +88,9 @@ for POSTINST in /usr/lib/dkms/common.postinst /usr/share/%{module}/postinst; do
|
||||||
systemctl stop tccd 2>&1 || true
|
systemctl stop tccd 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
% Explicitly unload old tuxedo_cc_wmi if loaded at this point
|
||||||
|
rmmod tuxedo_cc_wmi > /dev/null 2>&1 || true
|
||||||
|
|
||||||
echo "(Re)load modules if possible"
|
echo "(Re)load modules if possible"
|
||||||
|
|
||||||
rmmod tuxedo_io > /dev/null 2>&1 || true
|
rmmod tuxedo_io > /dev/null 2>&1 || true
|
||||||
|
|
Loading…
Reference in a new issue