Fix typo in RC_UNAME check of modules-load

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(!)
This commit is contained in:
Martin Väth 2016-08-30 19:47:13 +02:00
parent 04debf6f25
commit 8c14d0c476

View File

@ -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"