feat: turn on sudo and admin prompts by default
This commit is contained in:
1 parent
d8bbefed8a
commit
c1cf6cd948
20 files changed
+487
-474
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user