Skip to content

Commit

Permalink
Fix typo in RC_UNAME check of modules-load
Browse files Browse the repository at this point in the history
The $RC_UNAME "Linux" had been misspelled as "linux".
As a consequence, entries in e.g. /etc/modules-load.d failed to
load any module succesfully under Linux(!)
  • Loading branch information
vaeth committed Aug 30, 2016
1 parent 04debf6 commit 8c14d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.d/modules-load.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ load_modules()
ebegin "Loading module $x"
case "$RC_UNAME" in
FreeBSD) kldload "$x"; rc=$? ;;
linux) modprobe -q "$x"; rc=$? ;;
Linux) modprobe -q "$x"; rc=$? ;;
*) ;;
esac
eend $rc "Failed to load $x"
Expand Down

0 comments on commit 8c14d0c

Please sign in to comment.