diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:59 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:59 +0000 |
commit | 1b9e69e5a89003acfa33b99c6f94265fa4565751 (patch) | |
tree | 7e1c71309ba2924196c3c466e328179124d584f7 /package | |
parent | bd2c9d64a60508cf41f1dc2c58bdabaebfd9db02 (diff) | |
download | master-187ad058-1b9e69e5a89003acfa33b99c6f94265fa4565751.tar.gz master-187ad058-1b9e69e5a89003acfa33b99c6f94265fa4565751.tar.bz2 master-187ad058-1b9e69e5a89003acfa33b99c6f94265fa4565751.zip |
base-files: module loading is now handled by ubox/kmodloader
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37003 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 6 | ||||
-rwxr-xr-x | package/base-files/files/lib/functions.sh | 7 |
2 files changed, 1 insertions, 12 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index d33e8ce7f8..de6a2a6025 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -48,11 +48,7 @@ start() { grep -q debugfs /proc/filesystems && mount -o noatime -t debugfs debugfs /sys/kernel/debug [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe - if [ -f /sbin/kmodloader ]; then - /sbin/kmodloader - else - load_modules /etc/modules.d/* - fi + /sbin/kmodloader # allow wifi modules time to settle sleep 1 diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index f51bfea45d..42d76fd67d 100755 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -203,13 +203,6 @@ config_list_foreach() { done } -load_modules() { - [ -d /etc/modules.d ] && { - cd /etc/modules.d - sed 's/^[^#]/insmod &/' $* | ash 2>&- || : - } -} - include() { local file |