Changeset 3027


Ignore:
Timestamp:
Jul 23, 2012, 8:39:40 PM (7 years ago)
Author:
bruno
Message:
  • Check whether kpartx exists before calling it (full path name now)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3026 r3027  
    15981598    echo -en "."
    15991599    # Calling kpartx in case devices were not created
    1600     kpartx -a $USBDEVICE
     1600    if [ -x /sbin/kpartx ]; then
     1601        /sbin/kpartx -a $USBDEVICE
     1602    fi
    16011603    # Some distro do auto mount at that point (Ubuntu)
    16021604    LogFile "INFO: Unmounting $USBPART just in case again"
Note: See TracChangeset for help on using the changeset viewer.