Sennevds / system_sensors

Logging of system sensor specific for the RPI and sending them to a MQTT broker
MIT License
361 stars 112 forks source link

`zpool` is not always located at `/usr/sbin/zpool` #152

Closed jounathaen closed 1 year ago

jounathaen commented 1 year ago

As the title already states, the zpool binary might not be laying in /usr/sbin/zpool. In Debian 11 it is located at /sbin/zpool. However, it is hard-coded to that location in https://github.com/Sennevds/system_sensors/blob/9980a85253a60dcf12a803054674056d39027969/src/sensors.py#L154