asb / raspi-config

Configuration tool for the Raspberry Pi. Now maintained at https://github.com/RPi-Distro/raspi-config
Other
263 stars 328 forks source link

fix to check the existence and the validity of /dev/input/event* #47

Closed Terminus-IMRC closed 6 years ago

Terminus-IMRC commented 9 years ago

When the raspi-config init script checks whether the shift key is being pushed or not, these 2 problems may occur:

So I write a function which checks the existence and the validity of /dev/input/event*. Please evaluate my codes and merge to your master branch.

Regards.

a-detiste commented 9 years ago

That seems a bit much, why not just add a 2&>1 like in my P.R. ? https://github.com/asb/raspi-config/pull/50