summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/mythvantage-live/etc/live-sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/mythvantage-live/etc/live-sysinit')
-rw-r--r--abs/mv-core/mythvantage-live/etc/live-sysinit21
1 files changed, 20 insertions, 1 deletions
diff --git a/abs/mv-core/mythvantage-live/etc/live-sysinit b/abs/mv-core/mythvantage-live/etc/live-sysinit
index 8e2813b..4cf36f2 100644
--- a/abs/mv-core/mythvantage-live/etc/live-sysinit
+++ b/abs/mv-core/mythvantage-live/etc/live-sysinit
@@ -6,7 +6,7 @@ f_header ()
cR='\e[31m' cY='\e[1;33m' cN='\e[0m' cW='\e[1;37m'
echo " "
printsep
- printf " ${cR}MythVantage ${cY}Installation${cN}/${cY}Live${cW}. "
+ printf " ${cR}MythVantage ${cY}Installation${cN}/${cY}Live${cW} CDROM${cN}. "
printsep
echo " "
}
@@ -52,3 +52,22 @@ f_swapon ()
status "Activating Swap" /sbin/swapon -a
fi
}
+f_loadmodules()
+{
+ CMDLINE=$(cat /proc/cmdline)
+ echo $CMDLINE | grep -q modules
+ if [ $? -eq 0 ]
+ then
+ TEMPVAR=${CMDLINE#* modules=}
+ CMDMODULES=${TEMPVAR%% *}
+ mymod=`echo $CMDMODULES|/bin/sed 's|-|_|g' |/bin/sed 's|,| |g'`
+ stat_busy "Loading CMD module"
+ for mod in $mymod
+ do
+ /sbin/modprobe $mod
+ done
+ stat_done
+ fi
+
+
+}