blob: ab90d41d06e520c7891cbcaba35c597ad3b7e601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
echo "Enabling disable-wakeup.service..."
# Enable the systemd service if not already enabled
if ! systemctl is-enabled disable-wakeup.service &>/dev/null; then
systemctl enable disable-wakeup.service
echo "Service disable-wakeup.service has been enabled."
else
echo "Service disable-wakeup.service was already enabled."
fi
echo "Installation complete!"
echo "To finalize:"
echo "1. Disable and stop wpa_supplicant systemd service."
echo "1. Enable and start iwd systemd service."
echo "NOTE: If you had a mbfan config before, this package will replace that and restore on uninstall."
echo "NOTE: The disable-wakeup.service will disable LID0 and XHC1 from /proc/acpi/wakeup"
}
|