kmodloader: search kmods relative to LD_LIBRARY_PATH
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 Feb 2015 22:55:09 +0000 (23:55 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Feb 2015 11:29:52 +0000 (12:29 +0100)
commit31f0ff358b360ee461d845c1b3b5e5d38fa27925
tree97a056ccb1a9bae429da5ee62c1a4bdcc05675aa
parent0b274c16a3f9d235735a4b84215071e1e004caa9
kmodloader: search kmods relative to LD_LIBRARY_PATH

When LD_LIBRARY_PATH is set, then scan for kmods in each directory pointed to
by it. This is mainly useful for early boot invocations of kmodloader, e.g.
during the extroot setup phase.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
kmodloader.c