Ignore:
Timestamp:
10/13/11 22:20:20 (12 years ago)
Author:
madie
Message:

[ipk] fix bootlogos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/bootlogos_footballgirls_0_1/CONTROL/preinst

    r7451 r10345  
    66
    77model=`cat /etc/model`
    8         echo""
    9         echo "Checking your Boxtype...."
    10         echo "Some Plugins will not work correctly on your $model!"
    11         echo ""
    12         if [ "$model" = "" ]; then
    13                 echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
    14                 echo "Aborting installation..."
    15                 exit 1
    16         else
    17                 echo "$model OK"
    18         fi
     8echo""
     9echo "Checking your Boxtype...."
     10echo "Some Plugins will not work correctly on your $model!"
     11echo ""
     12if [ "$model" = "" ]; then
     13        echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
     14        echo "Aborting installation..."
     15        exit 1
     16else
     17        echo "Boxtype: $model OK"
     18fi
    1919
    2020if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
     
    3232        fi
    3333fi   
     34
     35echo "rename /var/etc/boot/bootlogo.jpg -> /var/etc/boot/original.jpg"
     36mv /var/etc/boot/bootlogo.jpg /var/etc/boot/original.jpg
     37
    3438echo "installing bootlogo ..."
    3539echo "checking OS"
Note: See TracChangeset for help on using the changeset viewer.