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/titannetwork_networkbrowser/CONTROL/postinst

    r12395 r12781  
    22TMP=/tmp/.tmp
    33echo "successfully installed"
    4 echo "syncing disk"
    5 sync
    6 
    74if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    85        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    96        FREE=`expr $SPACE - 100`
    107        echo new freespace size $FREE kb
     8else
     9        echo "syncing disk"
     10        sync
    1111fi
    12 
    1312echo "Please use GUI restart !!!!"
    1413
Note: See TracChangeset for help on using the changeset viewer.