boot: make use of kmodloader if it is available
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36428
This commit is contained in:
parent
a7ffc0b443
commit
39469dea7f
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue