[package] base-files: fix sysctl handling, do not react on fake ifaces in route hotpl...
[openwrt.git] / package / base-files / files / etc / init.d / network
index d60d41a..9d4904a 100755 (executable)
@@ -23,7 +23,10 @@ boot() {
                local proto
                config_get proto "$ifc" proto
 
-               type "coldplug_interface_$proto" >/dev/null && \
+               local auto
+               config_get_bool auto "$ifc" auto 1
+
+               type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \
                        coldplug_interface_$proto "$ifc"
        done
 }
This page took 0.023502 seconds and 4 git commands to generate.