diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-01-16 13:25:37 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-01-22 20:33:22 -0500 |
commit | b52fa3010a6f7d9ad99dcc9dfab0a9f9a5434a9b (patch) | |
tree | 1c4e267721045ea69f94bc4833db474d6f60f4df | |
parent | 89e3f31a64a354b850e6297c67c625f7dd6872b4 (diff) |
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 <dreisner@archlinux.org>
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" \ |