jcorporation / myMPDos

A music player image for Raspberry Pi based on Alpine Linux, MPD and myMPD.
https://jcorporation.github.io/
GNU General Public License v3.0
28 stars 6 forks source link

status.sh fails (location of vcgencmd has moved) #36

Closed blackbar-org closed 8 months ago

blackbar-org commented 8 months ago

In status.sh vcgencmd is called by absolute path (/opt/vc/bin/vcgencmd) and fails.

find / -name vcgencmd return: /usr/share/bash-completion/completions/vcgencmd /usr/bin/vcgencmd

echo $PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Why calling by absolute path?

jcorporation commented 8 months ago

Thanks for reporting this bug. It was called by absolute path because it was previously not in the search path.