source:
ipk/source.sh4/swapemus_oscam_6089/CONTROL/postrm@
23323
| Last change on this file since 23323 was 23323, checked in by , 13 years ago | |
|---|---|
| File size: 242 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | TMP=/tmp/.oscam |
| 3 | INSTDIR="$1" |
| 4 | |
| 5 | echo "successfully removed" |
| 6 | if [ "/var/swap" == "$INSTDIR" ]; then |
| 7 | echo "syncing disk" |
| 8 | sync |
| 9 | else |
| 10 | SPACE=`getfreespace "$INSTDIR"` |
| 11 | FREE=`expr $SPACE - 100` |
| 12 | echo new freespace size $FREE kb |
| 13 | fi |
| 14 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)