odinb / bash-plexamp-installer

PlexAmp-installer for Raspberry Pi with ARM64 HW. Headless music-player controlled from any other Plexamp client.
https://www.plex.tv/plexamp/
GNU General Public License v3.0
93 stars 8 forks source link

Status rpi-eeprom-update hangs #5

Closed pscharfg closed 2 years ago

pscharfg commented 2 years ago

I am not sure why this is happening but when your script reaches 'systemctl status rpi-eeprom-update.service’, the script hangs because it is not returning to the command prompt. I am using a RPI4 and the status shows all is well, it just doesn't return.

To get around this in the past, I simply commented out the line in your script. However changing it to systemctl status rpi-eeprom-update.service --no-pager -l is a better solution.

I assume this is not happening on your device and I can't figure out why mine would behave differently. Any thoughts?

odinb commented 2 years ago

Yup, fixed! Thanks for reporting!

pscharfg commented 2 years ago

No problem. I didn't report it earlier because I thought there must be something wrong with my config.

odinb commented 2 years ago

Not necessarily, there apparently has been a fairly recent change to systemctl, and then depending on your profile-settings, this might or might not happen! I did not see this when I ran the script personally, and most other people did not either, or I would have gotten more complaints (LOL)! But making the script more robust is always a goal, and this does just that!