changed device node ownership to lp group to circumvent permission problems
This commit is contained in:
1 parent
9750caac03
commit
acc3bdc217
1 file changed
+2
-1
+2
-1
@@ -8,7 +8,8 @@ BEGIN {
|
||||
NF >= 3 && $1 ~ /^ *0[xX][[:xdigit:]]+ *$/ {
|
||||
id = "000" tolower( substr( $1, 3 ));
|
||||
id = substr( id, length( id ) - 3 );
|
||||
print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"scanner\", ENV{libsane_matched}=\"yes\"";
|
||||
#print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"scanner\", ENV{libsane_matched}=\"yes\"";
|
||||
print "ATTR{idProduct}==\"" id "\", MODE=\"0664\", GROUP=\"lp\", ENV{libsane_matched}=\"yes\"";
|
||||
}
|
||||
END {
|
||||
print "LABEL=\"brscan4_end\"";
|
||||
|
||||
Reference in new issue
Block a user