source: ipk/source.sh4/titankeymaps_neutrino/CONTROL/prerm@ 11634

Last change on this file since 11634 was 10168, checked in by madie, 15 years ago

[ipk] add titan rcmap

File size: 351 bytes
RevLine 
[10168]1#!/bin/sh
2#
3TMP=/tmp/.keymap
4
5echo "syncing disk"
6sync
7if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
9 FREE=`expr $SPACE - 100`
10 echo freespace size $FREE kb
11fi
12echo "remove Neutrino Keymap"
13exit 0
Note: See TracBrowser for help on using the repository browser.