diff --git a/emhttp/plugins/dynamix/SysDrivers.page b/emhttp/plugins/dynamix/SysDrivers.page
index b33535a1c..3c6a1d412 100644
--- a/emhttp/plugins/dynamix/SysDrivers.page
+++ b/emhttp/plugins/dynamix/SysDrivers.page
@@ -21,15 +21,99 @@ Tag="server"
$select[] = mk_option(0,"all",'All');
?>
+
-
-
+
diff --git a/emhttp/plugins/dynamix/include/SysDrivers.php b/emhttp/plugins/dynamix/include/SysDrivers.php
index e3f52ee52..135e43a61 100644
--- a/emhttp/plugins/dynamix/include/SysDrivers.php
+++ b/emhttp/plugins/dynamix/include/SysDrivers.php
@@ -119,35 +119,37 @@ foreach($procmodules as $line) {
getmodules($kernel,$line) ;
}
-
- echo "| "._("Module/Driver")." | "._("Description")." | "._("State")." | "._("Type")." | "._("Modeprobe.d config file")." |
";
-
+ echo "| "._("Module/Driver")." | "._("Description")." | "._("State")." | "._("Type")." | "._("Modeprobe.d config file")." |
";
+ echo "" ;
if (is_array($arrModules)) ksort($arrModules) ;
foreach($arrModules as $modname => $module)
{
switch ($_POST['option']){
- case "inuse":
-
- if ($module['state'] == "Available" || $module['state'] == "(builtin)") continue(2) ;
- break ;
- case "confonly":
- if ($module['modprobe'] == "" ) continue(2) ;
+ case "inuse":
+ if ($module['state'] == "Available" || $module['state'] == "(builtin)") continue(2) ;
break ;
+
+ case "confonly":
+ if ($module['modprobe'] == "" ) continue(2) ;
+ break ;
+
case "all":
break ;
}
- if (substr($module['state'],0,9) == "(builtin)") $disable = "disabled" ; else $disable = "" ;
- $disable = "disabled" ;
- echo "| $modname | {$module['description']} | {$module['state']} | {$module['type']} | ";
- $text = "" ;
- if (is_array($module["modprobe"])) {
- $text = implode("\n",$module["modprobe"]) ;
- echo " |
";
- } else echo " | ";
+ #echo " $modname| {$module['description']} | {$module['state']} | {$module['type']} | ";
+ $text = "" ;
+ if (is_array($module["modprobe"])) {
+ $text = implode("\n",$module["modprobe"]) ;
+ echo " | ";
+ } else echo " | ";
}
+ echo "" ;
break;
+
case "update":
$conf = $_POST['conf'] ;
$module = $_POST['module'] ;