20 |
# a livecd has always the file .bootdev at root |
# a livecd has always the file .bootdev at root |
21 |
if [ ! -e /.bootdev ] |
if [ ! -e /.bootdev ] |
22 |
then |
then |
23 |
echo -e ${COLOREDSTAR}"Calculating modules dependencies ..." |
rc_print "Calculating modules dependencies ..." |
24 |
modules-update |
modules-update |
25 |
evaluate_retval |
evaluate_retval |
26 |
fi |
fi |
35 |
case "${module}" in |
case "${module}" in |
36 |
\#*|"") continue ;; |
\#*|"") continue ;; |
37 |
esac |
esac |
38 |
echo -e ${COLOREDSTAR}"Loading module ${COLBLUE}${module}${COLDEFAULT} ..." |
rc_print "Loading module ${COLBLUE}${module}${COLDEFAULT} ..." |
39 |
modprobe ${module} ${args} &>/dev/null |
modprobe ${module} ${args} &>/dev/null |
40 |
evaluate_retval |
evaluate_retval |
41 |
done |
done |