source: ipk/source/skins_ghost-HD/CONTROL/postrm@ 7247

Last change on this file since 7247 was 7138, checked in by speedy1, 15 years ago

[ipk] add Flash-Skin ghost-HD

File size: 434 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.skin
3
4PLUGINDIR1=/var/usr/local/share/enigma2/ghost-HD
5
6rm -r $PLUGINDIR1 > /dev/null 2>&1
7
8echo "successfully removed"
9echo "syncing disk"
10sync
11if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
12 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
13 FREE=`expr $SPACE - 100`
14 echo new freespace size $FREE kb
15fi
16exit 0
Note: See TracBrowser for help on using the repository browser.