Update SysDrivers.php

This commit is contained in:
SimonFair
2023-07-29 22:07:01 +01:00
parent da0ba3e031
commit 621c94a56c
@@ -42,7 +42,8 @@ switch ($_POST['table']) {
case 't1load':
$list = file_get_contents($sysdrvfile) ;
$arrModules = json_decode($list,TRUE) ;
if (is_file($sysdrvinit)) $init = file_get_contents($sysdrvinit) ; else $init = false ;
var $init = false;
if (is_file($sysdrvinit)) $init = file_get_contents($sysdrvinit);
$html = "<thead><tr><th><b>"._("Driver")."</th><th><b>"._("Description")."</th><th data-value='System|Inuse|Custom|Disabled|\"Kernel - Inuse\"'><b>"._("State")."</th><th><b>"._("Type")."</th><th><b>"._("Modprobe.d config file")."</th></tr></thead>";
$html .= "<tbody>" ;