OpenVoiceOS / ovos-i2csound

Script for i2c HAT detection
Apache License 2.0
1 stars 1 forks source link

fix: moved i2c_platform file to user agnostic directory #13

Closed builderjer closed 4 months ago

builderjer commented 4 months ago

It was mentioned here that this only works for user ovos. This moves the i2c_platform file to /etc/mycroft/i2c_platform to not hard code a user.

It was mentioned to set an environment file, but those can only be set for the current shell, or on a reboot. System environment variables CAN NOT be set dynamically according to everything I have read.

JarbasAl commented 4 months ago

i think we should use the same directory we use in ovos-config, no reason to refer to mycroft here when this has nothing to do with mycroft directly

/etc/OpenVoiceOS/XXX

standardizing this path as the "OS level" directory for OVOS i think makes sense, whenever we need something not tied to a user

j1nx commented 4 months ago

Doesn't this then also needs a 'mkdir -p /etc/OpenVoiceOS' to nake sure it exists?