From b855a8ff6da59a610a8be579bb139dc6b939a556 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Mon, 13 Sep 2021 23:58:08 +0200 Subject: [PATCH] Packaging: Include module reload for uniwill_wmi --- deb/module-name/DEBIAN/postinst | 2 ++ src_pkg/rpm_pkg.spec | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deb/module-name/DEBIAN/postinst b/deb/module-name/DEBIAN/postinst index 8f1fe6b..149a019 100755 --- a/deb/module-name/DEBIAN/postinst +++ b/deb/module-name/DEBIAN/postinst @@ -58,11 +58,13 @@ case "$1" in echo "(Re)load modules if possible" rmmod tuxedo_io > /dev/null 2>&1 || true + rmmod uniwill_wmi > /dev/null 2>&1 || true rmmod clevo_wmi > /dev/null 2>&1 || true rmmod clevo_acpi > /dev/null 2>&1 || true rmmod tuxedo_keyboard > /dev/null 2>&1 || true modprobe tuxedo_keyboard > /dev/null 2>&1 || true + modprobe uniwill_wmi > /dev/null 2>&1 || true modprobe clevo_wmi > /dev/null 2>&1 || true modprobe clevo_acpi > /dev/null 2>&1 || true modprobe tuxedo_io > /dev/null 2>&1 || true diff --git a/src_pkg/rpm_pkg.spec b/src_pkg/rpm_pkg.spec index 7b52fd3..934236d 100644 --- a/src_pkg/rpm_pkg.spec +++ b/src_pkg/rpm_pkg.spec @@ -96,11 +96,13 @@ for POSTINST in /usr/lib/dkms/common.postinst /usr/share/%{module}/postinst; do echo "(Re)load modules if possible" rmmod tuxedo_io > /dev/null 2>&1 || true + rmmod uniwill_wmi > /dev/null 2>&1 || true rmmod clevo_wmi > /dev/null 2>&1 || true rmmod clevo_acpi > /dev/null 2>&1 || true rmmod tuxedo_keyboard > /dev/null 2>&1 || true modprobe tuxedo_keyboard > /dev/null 2>&1 || true + modprobe uniwill_wmi > /dev/null 2>&1 || true modprobe clevo_wmi > /dev/null 2>&1 || true modprobe clevo_acpi > /dev/null 2>&1 || true modprobe tuxedo_io > /dev/null 2>&1 || true