cc-2055: switch to init.d
-fix some upgrade script issues
This commit is contained in:
parent
d516b963e4
commit
49589c284d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue