]> git.pld-linux.org Git - projects/rc-scripts.git/blame - rc.d/rc.modules
- merge my private tree
[projects/rc-scripts.git] / rc.d / rc.modules
CommitLineData
a04d924e
AM
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
7824432b 7# $Id: rc.modules,v 1.1.2.2 2001/09/30 10:19:36 misiek Exp $
a04d924e
AM
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
15while read module args
16do
17 [ -z "$module" ] && continue
7824432b 18 _modprobe single --opt "$args" $module
a04d924e
AM
19done
20
This page took 0.043822 seconds and 4 git commands to generate.