| Rev | Line | |
|---|
| [10168] | 1 | #!/bin/sh
|
|---|
| 2 | TMP=/tmp/.keymaps
|
|---|
| [12551] | 3 | echo "Erfolgreich deinstalliert..."
|
|---|
| 4 |
|
|---|
| [12781] | 5 | echo "Stelle Original rcmap wieder her"
|
|---|
| 6 | mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap
|
|---|
| [10168] | 7 |
|
|---|
| [12395] | 8 | if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
|
|---|
| 9 | SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
|
|---|
| [10168] | 10 | FREE=`expr $SPACE - 100`
|
|---|
| 11 | echo new freespace size $FREE kb
|
|---|
| [12781] | 12 | else
|
|---|
| 13 | echo "syncing disk"
|
|---|
| 14 | sync
|
|---|
| [10168] | 15 | fi
|
|---|
| 16 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.