aboutsummaryrefslogtreecommitdiff
path: root/aux/80-fprintd.rules
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
committerB. Stack <bgstack15@gmail.com>2024-09-24 19:57:24 -0400
commit0f9ad0d0b810def89705d4c7fbbff962b16ba4c4 (patch)
tree3061220ed78cfe4f4c137e5973c451dd307f1bca /aux/80-fprintd.rules
parentadd image to readme (diff)
downloadfprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.gz
fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.tar.bz2
fprintd-tk-0f9ad0d0b810def89705d4c7fbbff962b16ba4c4.zip
dpkg build recipe and assetsHEADmaster
Diffstat (limited to 'aux/80-fprintd.rules')
-rw-r--r--aux/80-fprintd.rules24
1 files changed, 0 insertions, 24 deletions
diff --git a/aux/80-fprintd.rules b/aux/80-fprintd.rules
deleted file mode 100644
index 080334f..0000000
--- a/aux/80-fprintd.rules
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-.. File: 80-fprintd.rules
-*/
-polkit.addRule(function(action, subject) {
- if (
- (
- action.id.match("net.reactivated.fprint.device.enroll") ||
- action.id.match("net.reactivated.fprint.device.verify")
- ) && subject.active) {
- polkit.log("action=" + action);
- polkit.log("subject=" + subject);
- return polkit.Result.YES;
- }
-});
-polkit.addRule(function(action, subject) {
- if (
- (
- action.id.match("net.reactivated.fprint.device.setusername")
- ) && subject.active && subject.isInGroup("admins")) {
- polkit.log("action=" + action);
- polkit.log("subject=" + subject);
- return polkit.Result.YES;
- }
-});
bgstack15