[Bug 135] insmod cannot load modules under mipsle (AR7)

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 5 09:25:35 UTC 2009


--- Comment #13 from Bernhard <rep.dot.nop at gmail.com>  2009-03-05 09:25:34 UTC ---
(In reply to comment #9)
> Having to supply full pathnames to modules would be a very big move to make for
> the ADSL firmwares. Unfortunately, there seems to be no obvious way to run
> depmod to produce modules.dep on the target platform. I can't seem to find any
> instructions in the busybox docs about this.

cat >/etc/init.d/depmod<<EOF
case "/$1" in
/start) ;;
*) exit 0;;
test -f /lib/modules/$(uname -r)/modules.dep || depmod -ae
exit $?
chmod +x /etc/init.d/depmod && make sure that this is run on bootup.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list