Subject: [PATCH 5/5] cleanup: rename the function to make it clear, that we attempt to load kernel_modules and not just another port or openwrt
--- package/base-files/files/etc/functions.sh | 2 +- package/base-files/files/etc/init.d/boot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index 5fb1808..1cb1667 100755 --- a/package/base-files/files/etc/functions.sh +++ b/package/base-files/files/etc/functions.sh @@ -205,7 +205,7 @@ config_list_foreach() { done } -load_modules() { +load_kernelmodules() { local file line for file in /etc/modules.d/* ; do diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index ab8eb29..9a93fe6 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -83,7 +83,7 @@ start() { [ -n "$rootdev" ] && ln -s "$rootdev" /dev/root } - load_modules + load_kernelmodules # another round of USB coldplugging to kick devices into operation which lacked drivers before for dev in /sys/bus/usb/devices/*/uevent; do -- 1.7.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel