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:
parent
04debf6f25
commit
8c14d0c476
@ -54,7 +54,7 @@ load_modules()
|
|||||||
ebegin "Loading module $x"
|
ebegin "Loading module $x"
|
||||||
case "$RC_UNAME" in
|
case "$RC_UNAME" in
|
||||||
FreeBSD) kldload "$x"; rc=$? ;;
|
FreeBSD) kldload "$x"; rc=$? ;;
|
||||||
linux) modprobe -q "$x"; rc=$? ;;
|
Linux) modprobe -q "$x"; rc=$? ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
eend $rc "Failed to load $x"
|
eend $rc "Failed to load $x"
|
||||||
|
Loading…
Reference in New Issue
Block a user