Lines 121-130
Link Here
|
121 |
num=0 |
121 |
num=0 |
122 |
while read prefix line; do |
122 |
while read prefix line; do |
123 |
case "$prefix" in |
123 |
case "$prefix" in |
|
|
124 |
P:) phys=${line#Phys=} ;; |
124 |
N:) name="${line#Name=}" ;; |
125 |
N:) name="${line#Name=}" ;; |
125 |
H:) handlers="${line#Handlers=}" ;; |
126 |
H:) handlers="${line#Handlers=}" ;; |
126 |
"") |
127 |
"") |
127 |
[ -z "${handlers##*mouse*}" ] || continue |
128 |
[ -z "${handlers##*mouse*}" ] || continue |
|
|
129 |
[ -n "$phys" ] || continue |
128 |
|
130 |
|
129 |
if [ -z "${subsystem##*xorg*}" ]; then |
131 |
if [ -z "${subsystem##*xorg*}" ]; then |
130 |
[ -z "$dry_run" ] && |
132 |
[ -z "$dry_run" ] && |