Ignore:
Timestamp:
Oct 25, 2006, 12:41:23 AM (18 years ago)
Author:
Bruno Cornec
Message:

mindi-busybox now uses busybox 1.2.2 (Thanks Rob for that last update and good lucck for your future projects).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi-busybox/modutils/modprobe.c

    r821 r902  
    689689            if (!show_only) {
    690690                int rc2 = wait4pid(bb_spawn(argv));
    691                
     691
    692692                if (do_insert) {
    693693                    rc = rc2; /* only last module matters */
     
    838838
    839839        // process tail ---> head
    840         rc = mod_process ( tail, 1 );
     840        if ((rc = mod_process ( tail, 1 )) != 0) {
     841            /*
     842             * In case of using udev, multiple instances of modprobe can be
     843             * spawned to load the same module (think of two same usb devices,
     844             * for example; or cold-plugging at boot time). Thus we shouldn't
     845             * fail if the module was loaded, and not by us.
     846             */
     847            if (already_loaded (mod) )
     848                rc = 0;
     849        }
    841850    }
    842851    else
Note: See TracChangeset for help on using the changeset viewer.