source: ipk/source.sh4/titankeymaps_neutrino/CONTROL/postinst@ 20671

Last change on this file since 20671 was 20671, checked in by obi, 13 years ago

fix rcmap

File size: 421 bytes
RevLine 
[10168]1#!/bin/sh
2TMP=/tmp/.keymaps
3
4echo "successful installed"
[12395]5if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
[10168]7 FREE=`expr $SPACE - 100`
8 echo new freespace size $FREE kb
[12781]9else
10 echo "syncing disk"
11 sync
[10168]12fi
[20671]13
14rm -rf /var/etc/titan/rcmap.default
15rm -rf /mnt/config/rcmap
16
[10168]17exit 0
Note: See TracBrowser for help on using the repository browser.