| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | #
|
|---|
| 3 | TMP=/tmp/.feeds
|
|---|
| 4 | echo "syncing disk"
|
|---|
| 5 | sync
|
|---|
| 6 |
|
|---|
| 7 | mv /var/etc/ipkg/official-feed.conf /var/etc/ipkg/official-feed.conf.original
|
|---|
| 8 | echo "Original Datei wird gesichert"
|
|---|
| 9 |
|
|---|
| 10 | model=`cat /etc/model`
|
|---|
| 11 | echo""
|
|---|
| 12 | echo "Überprüfung des Receivers...."
|
|---|
| 13 | echo ""
|
|---|
| 14 | if [ "$model" != "atemio500" ]; then
|
|---|
| 15 | echo "Entschuldigung! Dieses Plugin funktioniert nicht korrekt auf ihrer $model .."
|
|---|
| 16 | echo "Installation wird abgebrochen..."
|
|---|
| 17 | exit 1
|
|---|
| 18 | else
|
|---|
| 19 | echo "Boxtype: $model OK"
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | echo "Installation des neuen Pluginservers.... "
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.