Max2Play Home 2016 (en) › Forums › Max2Play on Raspberry PI › [SOLVED] Raspberry image contains "odroid" username afer upgrade › Reply To: [SOLVED] Raspberry image contains "odroid" username afer upgrade
first: thanks a lot for your positive feedback!! Really appreciated!
The scripts that come with Max2Play have a default setting for the odroid (if no USER is set) as this was the first device we supported. This default setting gets overrun at runtime by variables in the /opt/max2play/*.conf. This changes the user from odroid to “pi” in the scripts you mentioned. This line does the “magic”:
USER=$(grep -a "SYSTEM_USER" /opt/max2play/audioplayer.conf | sed -n -e 's/^[A-Z_]*\=//p')
If this does not happen correctly, it is really strange… you may have a look at the file “/opt/max2play/audioplayer.conf” and see why the variable SYSTEM_USER is not set.
- This reply was modified 2 years, 7 months ago by flysurfer.