Changeset 3441


Ignore:
Timestamp:
Aug 28, 2015, 5:45:19 PM (4 years ago)
Author:
bruno
Message:
  • Move the perl call in init after the extraction of data disks to get it !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3430 r3441  
    921921    export FORCE_MODS=" "
    922922fi
    923 if [ "`grep -i excludedevs /proc/cmdline`" ]; then
    924     export MINDI_EXCLUDE_DEVS="`cat /proc/cmdline | sed 's~.*excludedevs=\"\(.*\)\".*~\1~'` mondonone"
    925     for d in $MINDI_EXCLUDE_DEVS ; do
    926         echo "Mountlist exclusion == $d"
    927         if [ -e "/tmp/mountlist.txt" ]; then
    928             perl -i -ne 'print $_ unless m~$d~' /tmp/mountlist.txt
    929         fi
    930     done
    931 else
    932     export MINDI_EXCLUDE_DEVS=" "
    933 fi
    934 
    935923echo "Activating a potential USB keyboard/mouse"
    936924StartUSBKbd
     
    998986    RunDevfsd
    999987fi
     988
     989if [ "`grep -i excludedevs /proc/cmdline`" ]; then
     990    export MINDI_EXCLUDE_DEVS="`cat /proc/cmdline | sed 's~.*excludedevs=\"\(.*\)\".*~\1~'` mondonone"
     991    for d in $MINDI_EXCLUDE_DEVS ; do
     992        echo "Mountlist exclusion == $d"
     993        if [ -e "/tmp/mountlist.txt" ]; then
     994            perl -i -ne 'print $_ unless m~$d~' /tmp/mountlist.txt
     995        fi
     996    done
     997else
     998    export MINDI_EXCLUDE_DEVS=" "
     999fi
     1000
    10001001LoadKeymap
    10011002WelcomeMessage
Note: See TracChangeset for help on using the changeset viewer.