diff options
Diffstat (limited to 'src/livecd/profiles/rtcw-et/md')
-rw-r--r-- | src/livecd/profiles/rtcw-et/md | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/src/livecd/profiles/rtcw-et/md b/src/livecd/profiles/rtcw-et/md deleted file mode 100644 index 398c0004e4..0000000000 --- a/src/livecd/profiles/rtcw-et/md +++ /dev/null @@ -1,73 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo/src/livecd/profiles/rtcw-et/Attic/md,v 1.1 2003/10/19 03:46:50 livewire Exp $ - -HILITE="\033[1m" -NORMAL="\033[0m" - -RAID="yes" -CMDLINE="`cat /proc/cmdline`" -for x in $CMDLINE -do - if [ "$x" = "noraid" ] - then - RAID="no" - fi -done - -depend() { - after checkfs - after * -} - -blurb() { - echo -ne ${HILITE}${1} - #blurblen=${#1} -} - -backup() { - echo -ne "\033[0G\033[0K" -} -start() { - ebegin "Raid Setup" - -if [ "$RAID" = "yes" ] - then - ebegin "Auto-detecting EVMS modules" - # Disable kernel messages to console: - echo "0" > /proc/sys/kernel/printk - local x - for x in /lib/modules/*/kernel/drivers/evms/* - do - y=${x##*/} - y=${y%%.*} - echo -ne " ${GOOD}*${NORMAL} Scanning for ${y}..." - insmod -f ${x} > /dev/null 2>&1 - backup - done - fi - -if [ "$RAID" = "yes" ] - then - ebegin "Auto-detecting MD modules" - # Disable kernel messages to console: - echo "0" > /proc/sys/kernel/printk - local x - for x in /lib/modules/*/kernel/drivers/md/* - do - y=${x##*/} - y=${y%%.*} - echo -ne " ${GOOD}*${NORMAL} Scanning for ${y}..." - insmod -f ${x} > /dev/null 2>&1 - backup - done - fi - -} - -stop() { - return -} - -# vim:ts=4 |