changed device node ownership to lp group to circumvent permission problems

This commit is contained in:
Harvey committed 2016-10-24 11:28:21 +02:00
1 parent 9750caac03
commit acc3bdc217
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,8 @@ BEGIN {
NF >= 3 && $1 ~ /^ *0[xX][[:xdigit:]]+ *$/ { NF >= 3 && $1 ~ /^ *0[xX][[:xdigit:]]+ *$/ {
id = "000" tolower( substr( $1, 3 )); id = "000" tolower( substr( $1, 3 ));
id = substr( id, length( id ) - 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 { END {
print "LABEL=\"brscan4_end\""; print "LABEL=\"brscan4_end\"";