OSDN Git Service

init.sh: allow HAS_SENSORS to override all cases
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 4 Jun 2018 15:22:27 +0000 (23:22 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 4 Jun 2018 15:22:27 +0000 (23:22 +0800)
commitd20445a06c691bf6bb76a461c82648019e191067
treec05087df7d87e6a942b9f5e819447a37bc229d36
parent9d41d263564de7548b7f24fba028909199773485
init.sh: allow HAS_SENSORS to override all cases

HAS_SENSORS in cmdline was introduced in commit f356d114 to override
the default has_sensors variable. However, it only take effects if
the sensors type is not kbd. This is not my original idea.

The change allows HAS_SENSORS to override the default value no matter
what the sensors type is.
init.sh