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

13 lines
241 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
# update all installed system packages and reboot
apt-get -y upgrade
reboot