|
Last change
on this file since 18277 was 18277, checked in by mr_pink, 14 years ago |
|
[titan] fix pearl lcd skins & add my own one
|
|
File size:
523 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | TMP=/tmp/.TOOLS
|
|---|
| 3 |
|
|---|
| 4 | mv /var/swap/titanplugins/lcdpearl1/originalskin.xml /var/swap/titanplugins/lcdpearl1/skin.xml
|
|---|
| 5 | echo "Originalskin wird wieder hergestellt....."
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | echo "Erfolgreich deinstalliert"
|
|---|
| 9 | if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
|
|---|
| 10 | SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
|
|---|
| 11 | FREE=`expr $SPACE - 100`
|
|---|
| 12 | echo new freespace size $FREE kb
|
|---|
| 13 | else
|
|---|
| 14 | sync
|
|---|
| 15 | fi
|
|---|
| 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.