- Timestamp:
- 09/08/13 11:23:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titansettings_uljanow_1sat_1_0/CONTROL/postrm
r22824 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set3 2 4 3 echo "remove /mnt/settings/bouquets.*" … … 10 9 rm -f /mnt/settings/epgchannel 11 10 12 echo "successfully removed"13 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then14 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 kb17 else18 echo "syncing disk"19 sync20 fi21 22 11 echo "restore default settings" 23 12 cp -a /etc/titan.restore/etc/titan/bouquets.* /mnt/settings … … 28 17 29 18 touch /tmp/.tpk_needs_reboot 19 30 20 exit 0
Note: See TracChangeset
for help on using the changeset viewer.