]> sigrok.org Git - libsigrok.git/blob - contrib/61-libsigrok-uaccess.rules
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / contrib / 61-libsigrok-uaccess.rules
1 ##
2 ## This file is part of the libsigrok project.
3 ##
4 ## Copyright (C) 2017 Stefan Bruens <stefan.bruens@rwth-aachen.de>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
18 ##
19
20 # Grant access permissions to users who are currently logged in locally.
21 # This is the default policy for systems using systemd-logind (or a
22 # compatible replacement).
23 #
24 # This file, when installed, must be installed with a name lexicographically
25 # sorted later than the accompanied 60-libsigrok.rules, and earlier than
26 # the systemd upstream 71-seat.rules.
27
28 ACTION!="add|change", GOTO="libsigrok_rules_uaccess_end"
29
30 ENV{ID_SIGROK}=="1", TAG+="uaccess"
31
32 LABEL="libsigrok_rules_uaccess_end"