X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=documentation%2Fapi%2Fmodules%2Fluci.sys.net.html;fp=documentation%2Fapi%2Fmodules%2Fluci.sys.net.html;h=4a049e23075c23d7d032667e051f5a30203ea5c1;hp=82fcea474fe012e3eccad701efba7914f392a0e1;hb=3d0e8deedeb811184e672684f75030bbbba7d9d3;hpb=00e2b03927b5c107aefef1c71ef14facd4c3cb77 diff --git a/documentation/api/modules/luci.sys.net.html b/documentation/api/modules/luci.sys.net.html index 82fcea474..4a049e230 100644 --- a/documentation/api/modules/luci.sys.net.html +++ b/documentation/api/modules/luci.sys.net.html @@ -39,6 +39,10 @@
  • + luci.http +
  • + +
  • luci.http.protocol
  • @@ -67,6 +71,10 @@
  • + luci.json +
  • + +
  • luci.jsonc
  • @@ -75,6 +83,26 @@
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • + +
  • luci.sys.init
  • @@ -97,6 +125,10 @@
  • + luci.util +
  • + +
  • nixio
  • @@ -181,57 +213,6 @@ LuCI system utilities / network related functions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns the current ipv6 kernel routing table entries. - - - - - - - - - - - - - - - - - - - -
    call (...) - -Execute a given shell command and return the error code -
    dmesg () - -Retrieves the output of the "dmesg" command.
    exec (command) - -Execute a given shell command and capture its standard output -
    getenv (var) - -Retrieve environment variables.
    hostname (String) - -Get or set the current hostname.
    httpget (url, stream, target) - -Returns the contents of a documented referred by an URL.
    mounts () - -Retrieve information about currently mounted file systems.
    arptable () @@ -302,34 +283,6 @@ Returns the current kernel routing table entries.
    reboot () - -Initiate a system reboot.
    syslog () - -Retrieves the output of the "logread" command.
    uniqueid (bytes) - -Generates a random id with specified length.
    uptime () - -Returns the current system uptime stats.
    @@ -346,229 +299,6 @@ Returns the current system uptime stats. -
    call (...)
    -
    - - -Execute a given shell command and return the error code - - - -

    Parameters

    - - - - - - - -

    Return value:

    -Error code of the command - - - -
    - - - - -
    dmesg ()
    -
    - - -Retrieves the output of the "dmesg" command. - - - - - - - - -

    Return value:

    -String containing the current log buffer - - - -
    - - - - -
    exec (command)
    -
    - - -Execute a given shell command and capture its standard output - - - -

    Parameters

    - - - - - - - -

    Return value:

    -String containg the return the output of the command - - - -
    - - - - -
    getenv (var)
    -
    - - -Retrieve environment variables. If no variable is given then a table - -containing the whole environment is returned otherwise this function returns -the corresponding string value for the given name or nil if no such variable -exists. - - -

    Parameters

    - - - - - - - -

    Return values:

    -
      - -
    1. String containg the value of the specified variable - -
    2. Table containing all variables if no variable name is given - -
    - - - -
    - - - - -
    hostname (String)
    -
    - - -Get or set the current hostname. - - - -

    Parameters

    - - - - - - - -

    Return value:

    -String containing the system hostname - - - -
    - - - - -
    httpget (url, stream, target)
    -
    - - -Returns the contents of a documented referred by an URL. - - - -

    Parameters

    - - - - - - - -

    Return value:

    -String containing the contents of given the URL - - - -
    - - - - -
    mounts ()
    -
    - - -Retrieve information about currently mounted file systems. - - - - - - - - -

    Return value:

    -Table containing mount information - - - -
    - - - -
    arptable ()
    @@ -820,107 +550,6 @@ Table of tables with properties of the corresponding routes.
    - - -
    reboot ()
    -
    - - -Initiate a system reboot. - - - - - - - - -

    Return value:

    -Return value of os.execute() - - - -
    - - - - -
    syslog ()
    -
    - - -Retrieves the output of the "logread" command. - - - - - - - - -

    Return value:

    -String containing the current log buffer - - - -
    - - - - -
    uniqueid (bytes)
    -
    - - -Generates a random id with specified length. - - - -

    Parameters

    - - - - - - - -

    Return value:

    -String containing hex encoded id - - - -
    - - - - -
    uptime ()
    -
    - - -Returns the current system uptime stats. - - - - - - - - -

    Return value:

    -String containing total uptime in seconds - - - -
    - -