OSDN Git Service

init.sh: refine the rule of has_sensors
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 12 Jan 2018 09:41:15 +0000 (17:41 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 12 Jan 2018 09:41:15 +0000 (17:41 +0800)
commitf356d114daed148133e80daa0783ad0ff20db2d2
tree85cc716ff3f87577110bf064bc8f8420dadbfaa9
parent01f5019b0ab2f27407479be1950edf1643741976
init.sh: refine the rule of has_sensors

Allow to set has_sensors variable via cmdline HAS_SENSORS=true/false.

For sensors of iio type, if there is no acceleration sensors, treat it
as no sensors.
init.sh