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_0Acht5Zehnwhite/CONTROL/postrm

    r12781 r23640  
    11#!/bin/sh
    2 TMP=/tmp/.skin
    32
    4 PLUGINDIR=/var/usr/local/share/titan/skin/0Acht5Zehn_white
    5 rm -r /var/usr/local/share/titan/skin/0Acht5Zehn_white
    6 
    7 echo "successfully removed"
    8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    9         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 else
    13         echo "syncing disk"
    14         sync
    15 fi
    163exit 0
Note: See TracChangeset for help on using the changeset viewer.