Changeset 21588


Ignore:
Timestamp:
2010-05-28T01:04:56+02:00 (8 years ago)
Author:
jow
Message:

[package] base-files: respect .auto option when running coldplug_interface_*() hooks on boot

Location:
trunk/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r21495 r21588  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=44 
     13PKG_RELEASE:=45 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/etc/init.d/network

    r21389 r21588  
    2424                config_get proto "$ifc" proto 
    2525 
    26                 type "coldplug_interface_$proto" >/dev/null && \ 
     26                local auto 
     27                config_get_bool auto "$ifc" auto 1 
     28 
     29                type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ 
    2730                        coldplug_interface_$proto "$ifc" 
    2831        done 
Note: See TracChangeset for help on using the changeset viewer.