From b52fa3010a6f7d9ad99dcc9dfab0a9f9a5434a9b Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 16 Jan 2012 13:25:37 -0500 Subject: functions: skip check for /proc/modules kmod doesn't read from /proc/modules to get attributes like module init state, and won't act up when /proc isn't mounted or if /proc/modules doesn't exist. Signed-off-by: Dave Reisner --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index 98a3283..24da795 100644 --- a/functions +++ b/functions @@ -358,7 +358,7 @@ udevd_modprobe() { stat_done # Load modules from the MODULES array defined in rc.conf - [[ -f /proc/modules ]] && (( ${#MODULES[*]} )) && + (( ${#MODULES[*]} )) && status -v "Loading User-specified Modules" modprobe -ab "${MODULES[@]}" status "Waiting for UDev uevents to be processed" \ -- cgit v1.2.3