]> sigrok.org Git - libsigrok.git/blame - contrib/61-libsigrok-plugdev.rules
session: address deprecation of g_memdup(), prepare use of g_memdup2()
[libsigrok.git] / contrib / 61-libsigrok-plugdev.rules
CommitLineData
f19fc2af
SB
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 in the "plugdev" group.
21# "plugdev" is typically used on Debian based distributions and may not
22# exist elsewhere.
23#
24# This file, when installed, must be installed with a name lexicographically
25# sorted later than the accompanied 60-libsigrok.rules
26
27ACTION!="add|change", GOTO="libsigrok_rules_plugdev_end"
28
29ENV{ID_SIGROK}=="1", MODE="660", GROUP="plugdev"
30
31LABEL="libsigrok_rules_plugdev_end"