bbruns 2014-04-12 15:14:54 +00:00
parent e669e5ada8
commit fe7720f050
1 changed files with 4 additions and 2 deletions

View File

@ -19,10 +19,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
function load_kernel_modules {
LOAD_MODULES=$2
LOAD_MODULES=$1
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} loading"
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} Loading kernel module:" N
for i in $LOAD_MODULES; do
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} Loading kernel module ${i}..."
${debug} ${DebugColor} "${i} " N
${MODPROBE} ${i}
done
${debug} ${DebugColor} "\n${FUNCNAME}:${DEFAULT_COLOR} done."
}