2 # (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
4 # Arkadiusz Miskiewicz <misiek@pld.org.pl>
6 # rc.modules: launch modules specified in /etc/modules
7 # $Id: rc.modules,v 1.2 2001/05/15 16:05:06 baggins Exp $
9 [ -f /etc/modules ] || exit 0
11 . /etc/rc.d/init.d/functions
13 # Loop over every line in /etc/modules.
14 (egrep -v "^(#|[[:blank:]]*#)" /etc/modules; echo) | # make sure there is a LF at the end
15 while read module args
17 [ -z "$module" ] && continue
18 _modprobe single -k $module