Ignore:
Timestamp:
Jul 31, 2010, 5:43:07 PM (16 years ago)
Author:
civer
Message:

[IPKs /preinst]

  • added boxtype check to more IPKs
File:
1 edited

Legend:

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

    r653 r3680  
    55echo "syncing disk"
    66sync
     7
     8model=`cat /etc/model`
     9echo""
     10echo "Checking your Boxtype...."
     11echo "Some Plugins will not work correctly on your $model!"
     12echo ""
     13if [ "$model" = "" ]; then
     14        echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
     15        echo "Aborting installation..."
     16        exit 1
     17else
     18        echo "Boxtype: $model OK"
     19fi
    720
    821if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
Note: See TracChangeset for help on using the changeset viewer.