some basic cleanup, stylistic change for config files, and slight fixes

SVN-Revision: 5455
This commit is contained in:
Tim Yardley 2006-11-06 23:37:55 +00:00
parent 62dc30f27a
commit 6c8d5185bf
6 changed files with 187 additions and 187 deletions

View file

@ -9,8 +9,8 @@ it was written under.
Syntax: Syntax:
\begin{Verbatim} \begin{Verbatim}
config <type> [<name>] # Section config <type> ["<name>"] # Section
option <name> <value> # Option option <name> "<value>" # Option
\end{Verbatim} \end{Verbatim}
Every parameter needs to be a single string and is formatted exactly Every parameter needs to be a single string and is formatted exactly

View file

@ -43,8 +43,8 @@ scan_<protocolname>() {
} }
setup_interface_<protocolname>() { setup_interface_<protocolname>() {
local interface="\$1" local interface="$1"
local config="\$2" local config="$2"
# set up the interface # set up the interface
} }
\end{Verbatim} \end{Verbatim}

View file

@ -61,7 +61,7 @@ The switch configuration is set by adding a \texttt{'switch'} config section.
Example: Example:
\begin{Verbatim} \begin{Verbatim}
config switch eth0 config switch "eth0"
option vlan0 "1 2 3 4 5*" option vlan0 "1 2 3 4 5*"
option vlan1 "0 5" option vlan1 "0 5"
\end{Verbatim} \end{Verbatim}

View file

@ -3,16 +3,16 @@ The WiFi settings are configured in the file \texttt{/etc/config/wireless}
it should detect your card and create a sample configuration that looks like this: it should detect your card and create a sample configuration that looks like this:
\begin{Verbatim} \begin{Verbatim}
config wifi-device wl0 config wifi-device "wl0"
option type broadcom option type "broadcom"
option channel 5 option channel "5"
config wifi-iface config wifi-iface
option device wl0 option device "wl0"
option mode ap option mode "ap"
option ssid OpenWrt option ssid "OpenWrt"
option hidden 0 option hidden "0"
option encryption none option encryption "none"
\end{Verbatim} \end{Verbatim}
There are two types of config sections in this file. The '\texttt{wifi-device}' refers to There are two types of config sections in this file. The '\texttt{wifi-device}' refers to