cc-2055: switch to init.d

-fix some upgrade script issues
This commit is contained in:
martin 2011-06-01 15:47:41 -04:00
parent d516b963e4
commit 49589c284d
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,13 @@ exec("airtime-pypo-stop");
exec("airtime-show-recorder-stop");
exec("airtime-media-monitor-stop");
exec("svc -dx /etc/service/pypo");
exec("svc -dx /etc/service/pypo/log");
exec("svc -dx /etc/service/pypo-liquidsoap");
exec("svc -dx /etc/service/pypo-liquidsoap/log");
exec("svc -dx /etc/service/recorder");
exec("svc -dx /etc/service/recorder/log");
$pathnames = array("/usr/bin/airtime-pypo-start",
"/usr/bin/airtime-pypo-stop",
"/usr/bin/airtime-show-recorder-start",
@ -37,6 +44,7 @@ $pathnames = array("/usr/bin/airtime-pypo-start",
);
foreach ($pathnames as $pn){
echo "Removing $pn";
exec("rm -rf ".$pn);
}