Changeset 6560 for ipk/source


Ignore:
Timestamp:
Mar 22, 2011, 7:12:54 AM (15 years ago)
Author:
obi
Message:

[ipk] swapnetwork_wlan_300/CONTROL/preinst fix

File:
1 edited

Legend:

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

    r6523 r6560  
    66
    77model=`cat /etc/model`
     8linuxver=`uname -a`; linuxver=${linuxver#*_}; linuxver=${linuxver%_*}
     9
    810echo""
    911echo "Checking your Boxtype...."
    1012echo "Some Plugins will not work correctly on your $model!"
    1113echo ""
    12 if [ "$model" = "ufs910" ] ; then
    13         echo "Boxtype: $model OK"
     14if [ "$linuxver" = "stm22" ] ; then
     15        echo "Linux Version: $linuxver OK"
    1416else
    15         echo "Sorry! This keymap is not for your $model!!! It will not work correctly!!!"
     17        echo "Sorry! This Plugin is not for your $model with ($linuxver)!!! It will not work correctly!!!"
    1618        echo "Aborting installation..."
    1719        exit 1
Note: See TracChangeset for help on using the changeset viewer.