source: ipk/source/skins_Nemesis.BlackBox_1_0/CONTROL/postrm@ 2838

Last change on this file since 2838 was 2838, checked in by obi, 16 years ago

[ipk] add Nemesis.BlackBox

File size: 442 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.skin
3
4PLUGINDIR1=/var/usr/local/share/enigma2/Nemesis.BlackBox
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.