mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-08 23:58:10 +00:00
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
@ -48,7 +48,11 @@ start() {
|
|||||||
grep -q debugfs /proc/filesystems && mount -o noatime -t debugfs debugfs /sys/kernel/debug
|
grep -q debugfs /proc/filesystems && mount -o noatime -t debugfs debugfs /sys/kernel/debug
|
||||||
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
|
[ "$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
|
# allow wifi modules time to settle
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user