Ignore:
Timestamp:
Jan 4, 2012, 7:46:39 AM (14 years ago)
Author:
obi
Message:

[ipk] update all swap/titan flash ipks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/titantools_keylock/CONTROL/postrm

    r12554 r12781  
    55
    66echo "successfully removed"
    7 echo "syncing disk"
    8 sync
    97if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    108        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    119        FREE=`expr $SPACE - 100`
    1210        echo new freespace size $FREE kb
     11else
     12        echo "syncing disk"
     13        sync
    1314fi
    1415exit 0
Note: See TracChangeset for help on using the changeset viewer.