small bugfix

This commit is contained in:
dg9vh 2017-04-22 20:27:49 +00:00
parent 6c274f8e90
commit a11abacfb2

View file

@ -58,8 +58,6 @@ if (defined("JSONNETWORK")) {
$netname = $_GET['network']; $netname = $_GET['network'];
$key = recursive_array_search($netname,$networks); $key = recursive_array_search($netname,$networks);
$network = $networks[$key]; $network = $networks[$key];
echo "<br>";
echo "INI:".$network['ini'];
setDMRNetwork($network['label']); setDMRNetwork($network['label']);
exec( "sudo cp ".MMDVMINIPATH."/".$network['ini'].".ini ".MMDVMINIPATH."/".MMDVMINIFILENAME ); exec( "sudo cp ".MMDVMINIPATH."/".$network['ini'].".ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM ); exec( REBOOTMMDVM );