Skip to content
Snippets Groups Projects
Commit 4c43cacc authored by John Crispin's avatar John Crispin
Browse files

base-files: module loading is now handled by ubox/kmodloader


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 37003
parent d0db343f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment