5 # Generic script for drive sensors.
7 # Arguments passed by powerd(8):
9 # script_path device event sensor state_description
13 logger
-p warning
"${0}: normal state reached on ${1} (${3}): ${4}" >&1
17 logger
-p warning
"${0}: state changed on ${1} (${3}): ${4}" >&1
21 logger
-p warning
"${0}: unsupported event ${2} on device ${1}" >&1