aboutsummaryrefslogtreecommitdiff
path: root/init.d/modules.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/modules.in')
-rw-r--r--init.d/modules.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/modules.in b/init.d/modules.in
index abaab85b..3bcd2dda 100644
--- a/init.d/modules.in
+++ b/init.d/modules.in
@@ -41,18 +41,18 @@ find_modfiles()
load_modules()
{
- local file m modules rc x
+ local file m _modules rc x
file=$1
[ -z "$file" ] && return 0
while read m x; do
case $m in
\;*) continue ;;
\#*) continue ;;
- *) modules="$modules $m"
+ *) _modules="$_modules $m"
;;
esac
done < $file
- for x in $modules; do
+ for x in $_modules; do
ebegin "Loading module $x"
case "$RC_UNAME" in
FreeBSD) kldload "$x"; rc=$? ;;