From 8c14d0c476e06fff7598c526e26b6a13d53a4600 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Tue, 30 Aug 2016 19:47:13 +0200 Subject: 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 2387a8d6..c8fe4222 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" -- cgit v1.2.3