Files
piradio-mini/html/scripts/rpi_system_update.sh
T
2017-10-14 23:27:44 +02:00

13 lines
246 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 dist-upgrade
reboot