From d59873c24a005c513eb5622408eb244bcd3170e3 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 5 Nov 2024 22:36:37 -0500 Subject: fix polkit rules --- files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.desktop | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'files/usr/local') diff --git a/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.desktop b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.desktop index d57c4b9..5cab6db 100644 --- a/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.desktop +++ b/files/usr/local/etc/polkit-1/rules.d/51-desktop.rules.desktop @@ -1,4 +1,11 @@ polkit.addRule(function (action, subject) { +$(if [ "${polkit_disable_suspend:-}" = true ]; then cat <