init.d/modules.in: Avoid loading modules twice in Linux with dash shell
init.d/modules.in: Avoid loading modules twice in Linux with dash shell

Since commit 6b475ab26992f1dd8815700828df46abc4b71d27, openrc tries to load
modules twice which have been defined in /etc/conf.d/modules via modules=
variable when /bin/sh points to dash shell.
The reason is that when the "modules-load" service was merged into "modules"
service, the "modules" variable name got used in both, load_modules()
function and in Linux_modules() function which both get called when modules
service is started. Although "modules" variable is marked as local in
load_modules(), dash simply ignores this.

Avoid the issue by renaming "modules" variable to "_modules" in
load_modules() function.

This fixes #419.

williamh/openrc,OpenRC/openrc,OpenRC/openrc,williamh/openrc,OpenRC/openrc,williamh/openrc