Menu="UNRAID-OS" Title="Wake On LAN" Icon="fa-bell" Tag="server" --- $data) { if ($postkey=="#apply") continue; $keys = explode(";",$postkey); if (count($keys) >1) $update_file[$keys[1]][$keys[2]][$keys[0]]=$data; } foreach($update_file as $type => $types) { foreach($types as $name => $details) { if ($details['user_mac'] == "") $details['user_mac'] = "None Defined"; if ($details['user_mac'] == "None Defined" && $details['enable'] == "enable") unset($update_file[$type][$name]) ; } } } unset($_POST) ; file_put_contents("/boot/config/wol.json",json_encode($update_file)); #echo ''; echo ''; #unset($_SESSION['csrf_token']); } ?> :WOL_intro_help: