diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-08-22 00:27:53 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-08-22 00:27:53 (GMT) |
commit | db17e125c87e8056e2d0cdc5f1985ab62e713c84 (patch) | |
tree | 0e2c84550d6ffdfd33cc84c12c396db9ce3c987b /abs/mv-core/mythvantage-live/etc/live-sysinit | |
parent | e067093b13fb71f9d928ccf7a1b3ce6dd0124795 (diff) | |
parent | d630a6ae3ada088453209270791ae281e2d5e393 (diff) | |
download | linhes_pkgbuild-db17e125c87e8056e2d0cdc5f1985ab62e713c84.zip linhes_pkgbuild-db17e125c87e8056e2d0cdc5f1985ab62e713c84.tar.gz linhes_pkgbuild-db17e125c87e8056e2d0cdc5f1985ab62e713c84.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/mv-core/mythvantage-live/etc/live-sysinit')
-rw-r--r-- | abs/mv-core/mythvantage-live/etc/live-sysinit | 21 |
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 + + +} |