]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- drop USERAIDSTART (autodetected)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Apr 2009 09:31:55 +0000 (09:31 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Apr 2009 09:31:55 +0000 (09:31 +0000)
svn-id: @10335

geninitrd
mod-md.sh

index 1eae00052d2acf6cd35b8fee8428d7a70c388492..f30c49f247356d3e019824127f595a66aadcf538 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -49,7 +49,6 @@ usage() {
        echo "       [--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]"
        echo "       [--compress=yes|lzma|bzip2|gzip]"
        echo "       [--initrdfs=rom|initramfs|ext2|cram] [--modules-conf=<modules.conf>]"
-       echo "       [--with-raidstart] [--without-raidstart]"
        echo "       [--with-bootsplash] [--without-bootsplash]"
        echo "       [--with-fbsplash] [--without-fbsplash]"
        echo "       [--with-fbcondecor] [--without-fbcondecor]"
@@ -838,12 +837,6 @@ while [ $# -gt 0 ]; do
                modulefile=$2
                shift
                ;;
-       --use-raidstart|--with-raidstart)
-               USERAIDSTART=yes
-               ;;
-       --without-raidstart)
-               USERAIDSTART=no
-               ;;
        --with-bootsplash)
                BOOT_SPLASH=yes
                ;;
@@ -1222,7 +1215,7 @@ fi
 
 if is_yes "$have_nfs"; then
        initrd_gen_nfs
-elif is_yes "$USERAIDSTART" && is_yes "$have_md"; then
+elif is_yes "$have_md"; then
        initrd_gen_md
        if is_yes "$have_lvm"; then
                initrd_gen_lvm
index 7639c427eb4c69880a1d006bcf610614d563869a..925b636cfb083a66068f3ea182d01e6007a941ca 100644 (file)
--- a/mod-md.sh
+++ b/mod-md.sh
@@ -5,9 +5,6 @@
 # if we should init md (softraid) at boot
 have_md=no
 
-# XXX wtf is this for?
-USERAIDSTART=yes
-
 # setup geninitrd module
 # @access      public
 setup_mod_md() {
This page took 0.348908 seconds and 4 git commands to generate.