ffnord / mesh-announce

Discussion at #mesh-announce:irc.hackint.org and (separately) at
https://matrix.to/#/!MjLIHcALOcENXZWQlH:irc.hackint.org/$1547640760901FmKaD:matrix.eclabs.de
13 stars 45 forks source link

Implement 'enabled'-provider for fastd #71

Closed AiyionPrime closed 3 years ago

AiyionPrime commented 3 years ago

This PR works quite well, but does introduce a requirement for fastd and will very likely break existing setups, which get updated to master blindly.

Depending on Kiels opinion on this behavior, the PR may be altered to in-function-imports within a try-except block catching ImportErrors returning the old return value True. This way the codebase would look messier, but blind legacy support is given.

@TobleMiner maybe you might share some opinons on this?

This checks for any running processes called fastd instead of always returning True.

closes #67