input update
This commit is contained in:
parent
4c0cd5e4ce
commit
4a3c607691
|
|
@ -217,9 +217,7 @@ function update_service($which_service)
|
|||
} else {
|
||||
echo "Error writing file.";
|
||||
}
|
||||
if ($service_display === "enable") {
|
||||
exec('sudo systemctl restart encoder-main');
|
||||
}
|
||||
exec('sudo systemctl restart encoder-main');
|
||||
break;
|
||||
case 'display';
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue