feat: turn on sudo and admin prompts by default

This commit is contained in:
Felitendo committed 2026-09-28 14:39:31 +02:00
1 parent d8bbefed8a
commit c1cf6cd948
20 files changed
+487 -474

No files matched your search

+6
View File
@@ -114,6 +114,12 @@ fu_pam_lockers_enabled() {
(( found ))
}
# fu_pam_available <service>
# Whether the service has a PAM file here at all.
fu_pam_available() {
[[ -f $(fu_pam_etc "$1") ]] || fu_pam_vendor "$1" > /dev/null
}
# fu_pam_enabled <service>
fu_pam_enabled() {
local file