commit: 8c14d0c476e06fff7598c526e26b6a13d53a4600
Author: Martin Väth <martin <AT> mvath <DOT> de>
AuthorDate: Tue Aug 30 17:47:13 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 17:47:13 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=8c14d0c4
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(!)
init.d/modules-load.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.d/modules-load.in b/init.d/modules-load.in
index 2387a8d..c8fe422 100644
--- a/init.d/modules-load.in
+++ b/init.d/modules-load.in
@@ -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"