Module
class that resides in Module.php
. Extending this class gives the module access to the following API functions. For more information, see Creating Modules.command
command
in the background.dependencyName
dependencyName
.$this->installDependecy('nmap');
dependencyName
dependencyName
is installed.$this->checkDependency('nmap');
processName
processName
is currently running on the system.$this->checkRunning('nmap');
uciString
uciString
$this->uciGet("network.wan");
settingString
value
value
of supplied settingString
.$this->uciSet("network.wan.ifname", "wan2");
settingString
value
settingString
and value
.$this->uciAddList("network", "wan3");