From f8302019dedefa0425f686ed707300df80881caa Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Thu, 26 Mar 2015 13:48:02 +0100 Subject: Remove ability to declare kernel modules in rc.conf The preferred way is to declare them in /etc/modules-load.d so why offer an additional way? This isn't perl. --- core-services/07-kmods.sh | 2 +- rc.conf | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/core-services/07-kmods.sh b/core-services/07-kmods.sh index 955d1c0..9d904c7 100644 --- a/core-services/07-kmods.sh +++ b/core-services/07-kmods.sh @@ -3,5 +3,5 @@ [ -n "$VIRTUALIZATION" ] && return 0 msg "Loading kernel modules..." -modules-load -v ${MODULES} | tr '\n' ' ' | sed 's:insmod [^ ]*/::g; s:\.ko\(\.gz\)\? ::g' +modules-load -v | tr '\n' ' ' | sed 's:insmod [^ ]*/::g; s:\.ko\(\.gz\)\? ::g' echo diff --git a/rc.conf b/rc.conf index 2be64f9..5dbad2e 100644 --- a/rc.conf +++ b/rc.conf @@ -27,10 +27,3 @@ # Amount of ttys which should be setup. #TTYS= - -# Kernel modules to load, delimited by blanks. -# -# NOTE: it's preferred to declare the modules in /etc/modules-load.d instead: -# - echo kmod > /etc/modules-load.d/kmod.conf -# -#MODULES="" -- cgit 1.4.1