diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-21 22:19:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-21 22:19:21 +0000 |
commit | 2423af1a7f276dbc4e1f449af6b998540f0ef45e (patch) | |
tree | 02b3697aa1a04444b1bf6208e004370762f2bfe7 | |
parent | 84e09dc706fa2967ced307f40b38a844d4f5c6d2 (diff) | |
download | upstream-2423af1a7f276dbc4e1f449af6b998540f0ef45e.tar.gz upstream-2423af1a7f276dbc4e1f449af6b998540f0ef45e.tar.bz2 upstream-2423af1a7f276dbc4e1f449af6b998540f0ef45e.zip |
move modules.d stuff in /etc/init.d/S10boot and make it more like /etc/modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@703 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/openwrt/Makefile | 2 | ||||
-rwxr-xr-x | target/default/target_skeleton/etc/init.d/S10boot | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/openwrt/Makefile b/package/openwrt/Makefile index 01c830dc4a..ea2bfd8586 100644 --- a/package/openwrt/Makefile +++ b/package/openwrt/Makefile @@ -84,7 +84,7 @@ $(PKG_BUILD_DIR)/wlcompat-debug.o: $(PKG_WLCOMPAT): $(PKG_BUILD_DIR)/wlcompat.o $(PKG_BUILD_DIR)/wlcompat-debug.o $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_BUILD_DIR)/wlcompat kmod-wlcompat.control $(LINUX_VERSION)-$(PKG_RELEASE) $(ARCH) mkdir -p $(PKG_BUILD_DIR)/wlcompat/etc/modules.d - echo "insmod wlcompat" > $(PKG_BUILD_DIR)/wlcompat/etc/modules.d/10-wlcompat + echo "wlcompat" > $(PKG_BUILD_DIR)/wlcompat/etc/modules.d/10-wlcompat mkdir -p $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION) cp $^ $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION)/ $(IPKG_BUILD) $(PKG_BUILD_DIR)/wlcompat $(PACKAGE_DIR) diff --git a/target/default/target_skeleton/etc/init.d/S10boot b/target/default/target_skeleton/etc/init.d/S10boot index 990480798b..47a255dd0f 100755 --- a/target/default/target_skeleton/etc/init.d/S10boot +++ b/target/default/target_skeleton/etc/init.d/S10boot @@ -25,7 +25,7 @@ touch /var/log/lastlog } } -sed 's/^[^#]/insmod &/' /etc/modules 2>&-|ash +cat /etc/modules /etc/modules.d/* | sed 's/^[^#]/insmod &/' 2>&-|ash ifconfig lo 127.0.0.1 up ifconfig eth0 promisc |