input update

This commit is contained in:
devdatt 2025-12-06 20:31:59 +05:30
parent 4c0cd5e4ce
commit 4a3c607691
1 changed files with 1 additions and 3 deletions

View File

@ -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;