projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ffc0b
)
boot: make use of kmodloader if it is available
author
John Crispin
<john@openwrt.org>
Thu, 25 Apr 2013 19:02:28 +0000
(19:02 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 25 Apr 2013 19:02:28 +0000
(19:02 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36428
package/base-files/files/etc/init.d/boot
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index 67db0d2a6aec1a2a3d5dab3097cfb08349fb4282..4f35eac7b35cc49f80920b89c441a44106b1b68b 100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-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