Ignore:
Timestamp:
09/08/13 11:23:17 (11 years ago)
Author:
nit
Message:
 
File:
1 edited

Legend:

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

    r22824 r23442  
    11#!/bin/sh
    2 TMP=/tmp/.set
    32
    43echo "remove /mnt/settings/bouquets.*"
     
    109rm -f /mnt/settings/epgchannel
    1110
    12 echo "successfully removed"
    13 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    14         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    15         FREE=`expr $SPACE - 100`
    16         echo new freespace size $FREE kb
    17 else
    18         echo "syncing disk"
    19         sync
    20 fi
    21 
    2211echo "restore default settings"
    2312cp -a /etc/titan.restore/etc/titan/bouquets.* /mnt/settings
     
    2817
    2918touch /tmp/.tpk_needs_reboot
     19
    3020exit 0
Note: See TracChangeset for help on using the changeset viewer.