Fixed airtime-upgrade.php...

This commit is contained in:
Albert Santoni 2014-04-25 12:19:18 -04:00
parent 1009719e1c
commit a43f487817
1 changed files with 4 additions and 2 deletions

View File

@ -65,8 +65,10 @@ if ($return_code == 0) {
exit(1);
}
// Stop media-monitor
service media-monitor stop-with-monit
// Stop media-monitor and disable it -- Airtime 2.5.3+
@exec("service media-monitor stop-with-monit");
@exec("rm /etc/init.d/airtime-media-monitor");
//convert strings like 1.9.0-devel to 1.9.0
$version = substr($version, 0, 5);