config_get openwrt
时间: 2023-09-30 09:09:00 浏览: 48
I'm sorry, as an AI language model, I don't have access to a specific device's configuration. However, I can give you a general idea of how to use the `config_get` command in OpenWrt.
The `config_get` command is used to retrieve the value of a configuration option from the OpenWrt configuration file. The syntax of the command is as follows:
```
config_get <variable> <section> <option> <default>
```
- `<variable>` is the name of the variable that will store the value of the configuration option.
- `<section>` is the name of the configuration section that contains the option.
- `<option>` is the name of the configuration option.
- `<default>` is the default value to use if the configuration option is not defined.
For example, to retrieve the value of the `username` option in the `system` section of the OpenWrt configuration file, you can use the following command:
```
config_get username system username ""
```
This will store the value of the `username` option in the `username` variable. If the `username` option is not defined in the `system` section, the default value of `""` will be used.