This is an old revision of the document!


Configuration Parameters

A list of all existing configuration parameters including default values can be found under /etc/config/factory-config.cfg. The user config is defined as all changes relative to the factory configuration. The current user config can be found under /etc/config/user-config.cfg echo "<html>"; $lines = file("data/media/nrsw/factory-config.txt"); foreach ($lines as $line_num => $line) { if (substr($line, 0, 11) === "# Copyright") continue; if (substr($line, 0, 1) === "#") { echo "</table>"; $title = substr($line, 2, strlen($line)); echo "<h2> $title </h2>"; echo '<table><tr><th width="40%">Parameter Key</th><th width="40%">Parameter Deafult Value</th><th>Value Range</th></tr>'; } $fields = preg_split('/=/', $line); // split at '=' => key, value if (count($fields) >= 2) { $key = $fields[0]; $val = $fields[1];   echo "<tr>"; echo "<td>". $key . "</td>"; echo "<td>". $val . "</td>"; echo "<td>". "" . "</td>"; echo "</tr>"; } } echo "</table>"; echo "</html>";