Dashboard: show correct status after switching the client state

fix huawei hilink service (udev rule)
This commit is contained in:
Christian Zeitnitz
2021-03-15 13:29:16 +01:00
parent c87253a06b
commit 11e2724afa
3 changed files with 22 additions and 33 deletions

View File

@@ -71,7 +71,7 @@ if (isset($_POST['interface'])) {
if (!empty($rule) ) exec('echo \''.$rule.'\' | sudo /usr/bin/tee -a '.$udevfile);
}
$ret=print_r($ret,true);
$jsonData = ['return'=>0,'output'=>['Udev rules changed for device '.$dev ] ];
$jsonData = ['return'=>0,'output'=>['Settings changed for device '.$dev ] ];
echo json_encode($jsonData);
return;
}