Skip to content
Snippets Groups Projects
Commit 533fc89a authored by blogic's avatar blogic
Browse files

boot: make use of kmodloader if it is available


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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36428 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 0f34ca7a
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,11 @@ start() {
grep -q debugfs /proc/filesystems && mount -o noatime -t debugfs debugfs /sys/kernel/debug
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
load_modules /etc/modules.d/*
if [ -f /sbin/kmodloader ]; then
/sbin/kmodloader
else
load_modules /etc/modules.d/*
fi
# allow wifi modules time to settle
sleep 1
......
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