From c7213d81d660a3e4a3bd8792984ac9542ab031c8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 3 Nov 2006 21:57:35 +0000 Subject: add config option for autostart of network interfaces SVN-Revision: 5425 --- package/base-files/default/lib/network/config.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/base-files/default/lib') diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh index 9c91a7cabf..502377b601 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) -- cgit v1.2.3