1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 15:06:47 +02:00

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
This commit is contained in:
nbd 2005-04-21 22:19:21 +00:00
parent d2f4cca420
commit 04aeac79ae
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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