aboutsummaryrefslogtreecommitdiff
path: root/init.d/modules-load.in
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-08-30 19:47:13 +0200
committerMartin Väth <martin@mvath.de>2016-08-30 19:47:13 +0200
commit8c14d0c476e06fff7598c526e26b6a13d53a4600 (patch)
tree1bf6488db94e6e5bf646ce3698ac09942a533360 /init.d/modules-load.in
parent04debf6f25b3748a101b61cb85f78617dbe5be6e (diff)
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(!)
Diffstat (limited to 'init.d/modules-load.in')
-rw-r--r--init.d/modules-load.in2
1 files changed, 1 insertions, 1 deletions
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"