From 6996aa68d04293f40426b6683668db8dd68ca138 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Sat, 23 Sep 2023 21:23:11 -0300 Subject: [PATCH] fix: add missing command entry for power-management permission configuration in doas-service --- buer.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buer.scm b/buer.scm index 4451b6c..f5ff43a 100644 --- a/buer.scm +++ b/buer.scm @@ -265,6 +265,7 @@ (map (lambda (cmd) (permit (identity ":wheel") (nopass? #t) + (command cmd) (args '()))) `("zzz" "halt" "reboot")) @@ -275,9 +276,9 @@ (command "herd") (args (cons action service)))) `(("tlp") ("tor") ("thermald") - ("thinkfan") ("wpa-supplicant"))) - `("doc" "stop" "start" "status" - "restart" "enable" "disable")))) + ("thinkfan") ("wpa-supplicant")) + `("doc" "stop" "start" "enable" + "status" "restart" "disable")))) #|Special file services|# (service special-files-service-type