Minor changes

This commit is contained in:
Pecusx
2018-05-08 20:29:10 +02:00
committed by GitHub
parent 47d1d6ede0
commit 75770c8a60
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -15,3 +15,4 @@ rm /var/log/apt/*.gz
rm /var/log/icecast2/*.gz
rm /var/log/mpd/*.gz
rm /var/log/samba/*.*
sync
+5 -2
View File
@@ -2,10 +2,13 @@
service radiod stop
# call clear caches script first
/usr/share/radio/html/scripts/clear_caches.sh
/usr/share/radio/html/scripts/clear_caches.sh &&
# to prevent hangs
dpkg --configure -a &&
# get actual packages list
apt-get update
apt-get update &&
# update all installed system packages and reboot
apt-get -y dist-upgrade