Changeset 2564 in MondoRescue for branches/2.2.9/mindi/rootfs/sbin/init


Ignore:
Timestamp:
Feb 1, 2010, 2:12:16 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Rename some variables exported to avoid accidental conflict (EXCLUDE_DEVS => MINDI_EXCLUDE_DEVS and ADDITIONAL_BOOT_PARAMS => MINDI_ADDITIONAL_BOOT_PARAMS)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/rootfs/sbin/init

    r2562 r2564  
    403403        # Exclude devices we may not want
    404404        rm -f /tmp/restorevgs
    405         for d in $EXCLUDE_DEVS ; do
     405        for d in $MINDI_EXCLUDE_DEVS ; do
    406406            echo " == $d"
    407407            EXCLUDE_VGS=`grep " $d" /tmp/i-want-my-lvm | grep vgcreate | awk '{print $4}'`
     
    745745fi
    746746if [ "`grep -i excludedevs /proc/cmdline`" ]; then
    747     export EXCLUDE_DEVS="`cat /proc/cmdline | sed 's~.*excludedevs=\"\(.*\)\".*~\1~'` mondonone"
     747    export MINDI_EXCLUDE_DEVS="`cat /proc/cmdline | sed 's~.*excludedevs=\"\(.*\)\".*~\1~'` mondonone"
    748748else
    749     export EXCLUDE_DEVS=" "
     749    export MINDI_EXCLUDE_DEVS=" "
    750750fi
    751751
Note: See TracChangeset for help on using the changeset viewer.