Ignore:
Timestamp:
Sep 10, 2013, 7:28:16 PM (13 years ago)
Author:
nit
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/skins_MetrixHD/CONTROL/postinst

    r20914 r23640  
    11#!/bin/sh
    2 TMP=/tmp/.titanskin
    3 
    4 
    5 echo "successfully installed"
    6 link=`readlink /var/swap`
    7 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
    8         SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    9         FREE=`expr $SPACE - 100`
    10         echo new freespace size $FREE kb
    11 else
    12         echo "syncing disk"
    13         sync
    14 fi
    15 echo "now you can choose the new skin...."
    162
    173exit 0
Note: See TracChangeset for help on using the changeset viewer.