Fixed airtime-upgrade.php...
This commit is contained in:
parent
1009719e1c
commit
a43f487817
|
@ -65,8 +65,10 @@ if ($return_code == 0) {
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop media-monitor
|
// Stop media-monitor and disable it -- Airtime 2.5.3+
|
||||||
service media-monitor stop-with-monit
|
@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
|
//convert strings like 1.9.0-devel to 1.9.0
|
||||||
$version = substr($version, 0, 5);
|
$version = substr($version, 0, 5);
|
||||||
|
|
Loading…
Reference in New Issue