Ignore:
Timestamp:
Mar 14, 2012, 2:42:05 AM (7 years ago)
Author:
bruno
Message:

r4563@localhost: bruno | 2012-03-13 00:29:34 +0100

  • Fix partly #589 by improving Arch Linux support (MC)
  • mv udev.files to udev.conf under deplist.d to be more coherent
File:
1 edited

Legend:

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

    r2955 r2964  
    150150
    151151    # Here we can add the USB storage module, it's working even with OBDR !
    152     modprobe -q usb-storage
     152    modprobe -q usb-storage 2> /dev/null
    153153    # Tape takes some time to appear
    154154    sleep 10
     
    198198    fi
    199199    echo "Activating a potential USB Storage device"
    200     modprobe -q usb-storage
     200    modprobe -q usb-storage 2> /dev/null
    201201    for i in 1 2 3 4 5 6 7 8 9 10 ; do
    202202        sleep 1
     
    390390    return
    391391fi
    392 modprobe -q uhcd_hci
    393 modprobe -q usbhid
     392modprobe -q uhcd_hci 2> /dev/null
     393modprobe -q usbhid 2> /dev/null
    394394}
    395395
     
    403403        LogIt "Scanning LVM's..." 1
    404404        if which lvm ; then
    405             modprobe -q dm-mod
    406             modprobe -q dm_mod
     405            modprobe -q dm-mod 2> /dev/null
     406            modprobe -q dm_mod 2> /dev/null
    407407            lvm vgscan --mknodes
    408408        else
     
    687687        if [ $? -eq 0 ]; then
    688688            echo "Forcing first $j..."
    689             modprobe -q $j
     689            modprobe -q $j 2> /dev/null
    690690        fi
    691691    done
     
    703703        fi
    704704        echo "Probing $j..."
    705         modprobe -q $j
     705        modprobe -q $j 2> /dev/null
    706706    done
    707707}
     
    742742MINDI_REV=PBREV
    743743trap CaughtSoftReset SIGTERM
    744 trap GetShell SIGINTR
     744trap GetShell SIGINT
    745745LOGFILE=/var/log/mondorestore.log
    746746PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/mondo:/usr/games
Note: See TracChangeset for help on using the changeset viewer.