Ignore:
Timestamp:
Sep 9, 2013, 11:54:45 PM (13 years ago)
Author:
obi
Message:

fix bootlogs / font control files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/fonts_paddingtonbold_1_0/CONTROL/postrm

    r12422 r23575  
    11#!/bin/sh
    2 TMP=/tmp/.fonts
    32
    4 echo "successfully removed"
    5 echo "syncing disk"
    6 sync
    7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    8         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    9         FREE=`expr $SPACE - 100`
    10         echo new freespace size $FREE kb
    11 fi
    123exit 0
Note: See TracChangeset for help on using the changeset viewer.