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


Ignore:
Timestamp:
Feb 12, 2010, 5:15:53 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • the post install ascript passed with post= should just exists and not be executable. It's now made executable by init. Maybe a fix for #394
File:
1 edited

Legend:

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

    r2580 r2581  
    932932        post=`echo $post | sed 's|^/tmp/isodir|/tmp|'`
    933933    fi
    934     if [ -x $post ]; then
     934    if [ -r $post ]; then
    935935        echo "Executing final script $post"
    936936        LogIt "Executing final script $post"
     
    938938            mount-me
    939939        fi
     940        chmod 755 $post
    940941        $post
    941942        if [ "`echo $post | grep -E '^/mnt/RESTORING'`" ]; then
Note: See TracChangeset for help on using the changeset viewer.