diff --git a/install_minimal/include/airtime-upgrade.php b/install_minimal/include/airtime-upgrade.php index 5e8754ec5..0174d14f0 100644 --- a/install_minimal/include/airtime-upgrade.php +++ b/install_minimal/include/airtime-upgrade.php @@ -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);