Skip to content

Check the machine name against a whitelist/blacklist

Bob Ham requested to merge bob.ham/haegtesse:machine-check into master

Instead of conflicting with Wys and relying on device-specific packages to bring in the right daemons, have Hægtesse check the machine name (/proc/device-tree/model) against a whitelist/blacklist pair to determine whether it should run. If it should not run, exit with a status that systemd recognises as meaning it should not be restarted.

Merge request reports