#!/bin/sh TMP=/tmp/.picasa echo "syncing disk" sync rm \var\swap\extensions\Picasa sync if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` FREE=`expr $SPACE - 100` echo freespace size $FREE kb fi echo "removing Picasa Plugin" exit 0