Stop fancontrol service before replacing binary.

#612.
pull/595/head^2
Christopher Young 2017-06-06 14:48:06 -04:00
rodzic e2b3529f95
commit 7fd67ccbc1
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -62,9 +62,10 @@ cp -f motd /etc/motd
#remove old script
rm -f /usr/bin/fancontrol.py
#install new program
/usr/bin/fancontrol stop
/usr/bin/fancontrol remove
cp -f fancontrol /usr/bin/
chmod 755 /usr/bin/fancontrol
/usr/bin/fancontrol remove
/usr/bin/fancontrol install
cp -f dump1090 /usr/bin/