source: ipk/source.sh4/titanswapskins_tobayer01/CONTROL/prerm @ 23270

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

[titan] tobayer01 skins: optimize control files

File size: 298 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
13sync
14SPACE=`getfreespace $plugin_target`
15FREE=`expr $SPACE - 100`
16echo "Old free space: ${FREE}kB"
17
18exit 0
Note: See TracBrowser for help on using the repository browser.