Installation Scripts

Post Installation Script (package tlp)

# Mask conflicting systemd services
for i in $(ls /lib/systemd/system 2> /dev/null | egrep "systemd-rfkill"); do
    systemctl mask $i 2> /dev/null || true
done

Post Removal Script (package tlp)

# Unmask conflicting systemd services
for i in $(ls /lib/systemd/system 2> /dev/null | egrep "systemd-rfkill"); do
    systemctl unmask $i 2> /dev/null || true
done
;;