Files
piradio-mini/html/scripts/rpi_firmware_update.sh
T
2017-10-09 20:28:52 +02:00

16 lines
273 B
Bash

# stop radio service
service radiod stop
# call clear caches script first
/usr/share/radio/html/scripts/clear_caches.sh
# get actual packages list
apt-get update
# install firmware update app
apt-get -y install rpi-update
# firmware update and reboot
rpi-update
reboot