|
Last change
on this file since 3785 was 3785, checked in by civer, 16 years ago |
|
test
|
-
Property svn:executable
set to
*
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | #
|
|---|
| 3 | TMP=/tmp/.picon
|
|---|
| 4 | echo "syncing disk"
|
|---|
| 5 | sync
|
|---|
| 6 |
|
|---|
| 7 | model=`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 "Boxtype: $model OK"
|
|---|
| 18 | fi
|
|---|
| 19 |
|
|---|
| 20 | #if [ -e /etc/.fullusb ] || [ -e /etc/.usbimage ]; then
|
|---|
| 21 | # echo "detected USB Image...."
|
|---|
| 22 | # echo "ok..."
|
|---|
| 23 | #elif [ "$model" = "ufs912" ]; then
|
|---|
| 24 | # echo "detected Boxtype : $model...."
|
|---|
| 25 | # echo "ok..."
|
|---|
| 26 | #else
|
|---|
| 27 | # if [ `ls -la /var/usr/local/share/enigma2 | grep "/var/swap/picon" | wc -l` -ge 1 ]; then
|
|---|
| 28 | # echo "check ok installing to swapstick...."
|
|---|
| 29 | # else
|
|---|
| 30 | # echo "ERROR: this package won`t fit in your flash..."
|
|---|
| 31 | # echo "...you need a swapstick to install the package on your $model...!"
|
|---|
| 32 | # echo "aborting installation..."
|
|---|
| 33 | # exit 1
|
|---|
| 34 | # fi
|
|---|
| 35 | #fi
|
|---|
| 36 |
|
|---|
| 37 | echo "installing hd picons for Astra 19.2..."
|
|---|
| 38 | echo "checking OS"
|
|---|
| 39 | if [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then
|
|---|
| 40 | echo ---------------------------
|
|---|
| 41 | echo DONT USE this IPK Package!!
|
|---|
| 42 | echo ---
|
|---|
| 43 | echo Only for AAF Image!!
|
|---|
| 44 | echo ---------------------------
|
|---|
| 45 | exit 1
|
|---|
| 46 | fi
|
|---|
| 47 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.