source: ipk/source.sh4/titanswapskins_tobayer01/CONTROL/postrm@ 23373

Last change on this file since 23373 was 23270, checked in by tobayer, 13 years ago

[titan] tobayer01 skins: optimize control files

File size: 360 bytes
Line 
1#!/bin/sh
2
3plugin_short="tobayer01"
4plugin_type="swapskin"
5plugin_target="/var/swap/titanskins"
6
7plugin_dir="$plugin_target/$plugin_short"
8plugin="$plugin_short $plugin_type"
9
10
11### MAIN ###
12
13rm -rf $plugin_dir
14
15sync
16SPACE=`getfreespace $plugin_target`
17FREE=`expr $SPACE - 100`
18echo "New free space: ${FREE}kB"
19echo
20echo "Successfully removed $plugin."
21
22exit 0
Note: See TracBrowser for help on using the repository browser.