COMPANY CONFIDENTIAL
24
2.4.6 Statistics
This shows the output of the “athstats” program.
Figure 9 Statistics Page
2.5 Command Line Interface
The command line interface consists of setting environmental variables using the configuration tool, and the following
scripts. The recommended approach is to set environmental variables and use the “apup” or “apdown” scripts to ensure
everything is configured correctly.
2.5.1 Shell Scripts
Several shell scripts are provided as examples, or as fully useable implementations. These scripts can be called from
other programs or CGI scripts to implement functionality in the user’s interface.
2.5.1.1 Initialization Scripts
Standard Linux operation requires an initialization script that is run upon bootup. This script,
rcS
, is kept in the standard
location
/etc/rc.d/
. All system function initialization scripts, such as network or other services are typically kept in this
directory. Therefore, four scripts have been defined; rcS, rc.bridge, rc.network, and rc.wlan. The
rc.*
scripts are
intended to be generic and not board specific. These scripts bring up the networking systems in a standard way on all
boards. The rcS script is specific for each board type, depending on its hardware configuration. Any unique modules or
other initialization is performed in this script, keeping the board unique items separate from the general purpose items.
The scripts are described in the following sections.