]> git.pld-linux.org Git - projects/rc-scripts.git/blob - rc.d/rc.modules
- merge from TOTALNEW branch (see NEWS for more info)
[projects/rc-scripts.git] / rc.d / rc.modules
1 #!/bin/sh
2 # (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
3 # Modified:
4 #       Arkadiusz Miskiewicz <misiek@pld.org.pl>
5 #
6 # rc.modules: launch modules specified in /etc/modules
7 # $Id: rc.modules,v 1.2 2001/05/15 16:05:06 baggins Exp $
8
9 [ -f /etc/modules ] || exit 0
10
11 . /etc/rc.d/init.d/functions
12
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
16 do
17   [ -z "$module" ] && continue
18   _modprobe single -k $module
19 done
20
This page took 0.032946 seconds and 3 git commands to generate.