source: ipk/source.sh4/swapemus_oscam_6089/CONTROL/postrm@ 23323

Last change on this file since 23323 was 23323, checked in by nit, 13 years ago

fix

File size: 242 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.oscam
3INSTDIR="$1"
4
5echo "successfully removed"
6if [ "/var/swap" == "$INSTDIR" ]; then
7 echo "syncing disk"
8 sync
9else
10 SPACE=`getfreespace "$INSTDIR"`
11 FREE=`expr $SPACE - 100`
12 echo new freespace size $FREE kb
13fi
14exit 0
Note: See TracBrowser for help on using the repository browser.