diff options
Diffstat (limited to 'package/base-files/default/lib')
-rwxr-xr-x | package/base-files/default/lib/network/config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh index 9c91a7cab..502377b60 100755 --- a/package/base-files/default/lib/network/config.sh +++ b/package/base-files/default/lib/network/config.sh @@ -27,6 +27,11 @@ scan_interfaces() { local mode iftype iface ifname device interfaces= config_cb() { + case "$1" in + interface) + config_set "$2" auto 1 + ;; + esac config_get iftype "$CONFIG_SECTION" TYPE case "$iftype" in interface) |