Changeset 703


Ignore:
Timestamp:
2005-04-22T00:19:21+02:00 (13 years ago)
Author:
nbd
Message:

move modules.d stuff in /etc/init.d/S10boot and make it more like /etc/modules

Location:
trunk/openwrt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/openwrt/Makefile

    r701 r703  
    8585        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_BUILD_DIR)/wlcompat kmod-wlcompat.control $(LINUX_VERSION)-$(PKG_RELEASE) $(ARCH) 
    8686        mkdir -p $(PKG_BUILD_DIR)/wlcompat/etc/modules.d 
    87         echo "insmod wlcompat" > $(PKG_BUILD_DIR)/wlcompat/etc/modules.d/10-wlcompat 
     87        echo "wlcompat" > $(PKG_BUILD_DIR)/wlcompat/etc/modules.d/10-wlcompat 
    8888        mkdir -p $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION) 
    8989        cp $^ $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION)/ 
  • trunk/openwrt/target/default/target_skeleton/etc/init.d/S10boot

    r686 r703  
    2626} 
    2727 
    28 sed 's/^[^#]/insmod &/' /etc/modules 2>&-|ash 
     28cat /etc/modules /etc/modules.d/* | sed 's/^[^#]/insmod &/' 2>&-|ash 
    2929 
    3030ifconfig lo 127.0.0.1 up 
Note: See TracChangeset for help on using the changeset viewer.