source: ipk/source.sh4/titankeymaps_neutrino/CONTROL/postrm@ 11472

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

[ipk] add titan rcmap

File size: 443 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.keymaps
3echo "successful removed"
4echo "syncing disk"
5sync
6 echo "restoring original rcmap"
7 mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap
8
9sync
10
11if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
12 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
13 FREE=`expr $SPACE - 100`
14 echo new freespace size $FREE kb
15fi
16exit 0
Note: See TracBrowser for help on using the repository browser.