Changeset 23442 for ipk/source.sh4
- Timestamp:
- Sep 8, 2013, 11:23:17 AM (13 years ago)
- Location:
- ipk/source.sh4
- Files:
-
- 35 edited
-
titansettings_default_cable_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_default_cable_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_default_cable_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_default_cable_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_default_cable_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_default_matze70_sat_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_default_matze70_sat_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_default_matze70_sat_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_default_matze70_sat_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_default_matze70_sat_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_default_sat_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_default_sat_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_default_sat_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_default_sat_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_default_sat_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_matze70neueDesign_sat19_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_matze70neueDesign_sat19_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_matze70neueDesign_sat19_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_matze70neueDesign_sat19_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_matze70neueDesign_sat19_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_sofa_cableBW_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_sofa_cableBW_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_sofa_cableBW_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_sofa_cableBW_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_sofa_cableBW_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_uljanow_1sat_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_uljanow_1sat_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_uljanow_1sat_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_uljanow_1sat_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_uljanow_1sat_1_0/CONTROL/prerm (modified) (1 diff)
-
titansettings_unitymedia_cable_1_0/CONTROL/control (modified) (1 diff)
-
titansettings_unitymedia_cable_1_0/CONTROL/postinst (modified) (1 diff)
-
titansettings_unitymedia_cable_1_0/CONTROL/postrm (modified) (3 diffs)
-
titansettings_unitymedia_cable_1_0/CONTROL/preinst (modified) (1 diff)
-
titansettings_unitymedia_cable_1_0/CONTROL/prerm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titansettings_default_cable_1_0/CONTROL/control
r23139 r23442 12 12 Group: 100 13 13 Showname: Settings Kabel Deutschland 14 Usepath: /var -
ipk/source.sh4/titansettings_default_cable_1_0/CONTROL/postinst
r21547 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_default_cable_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_default_cable_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=30 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_default_cable_1_0/CONTROL/prerm
r18154 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_default_matze70_sat_1_0/CONTROL/control
r23139 r23442 12 12 Group: 100 13 13 Showname: Settings Astra 19.2 (matze70) 14 Usepath: /var -
ipk/source.sh4/titansettings_default_matze70_sat_1_0/CONTROL/postinst
r21548 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_default_matze70_sat_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_default_matze70_sat_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=80 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_default_matze70_sat_1_0/CONTROL/prerm
r17893 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/control
r23139 r23442 11 11 Source: http://www.aaf-digital.info 12 12 Group: 100 13 Showname: Settings 19.2/13.0/23.5/28.2 + Kabel 13 Showname: Settings 19.2/13.0/23.5/28.2 + Kabel 14 Usepath: /var -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/postinst
r21549 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=550 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/prerm
r17828 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_matze70neueDesign_sat19_1_0/CONTROL/control
r23139 r23442 12 12 Group: 100 13 13 Showname: Settings Astra 19.2 - NEU (matze70) 14 Usepath: /var -
ipk/source.sh4/titansettings_matze70neueDesign_sat19_1_0/CONTROL/postinst
r21550 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_matze70neueDesign_sat19_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_matze70neueDesign_sat19_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=80 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_matze70neueDesign_sat19_1_0/CONTROL/prerm
r17829 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_sofa_cableBW_1_0/CONTROL/control
r23139 r23442 12 12 Group: 100 13 13 Showname: Settings Kabel BW (sofatester) 14 Usepath: /var -
ipk/source.sh4/titansettings_sofa_cableBW_1_0/CONTROL/postinst
r21551 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_sofa_cableBW_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_sofa_cableBW_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=50 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_sofa_cableBW_1_0/CONTROL/prerm
r18194 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_uljanow_1sat_1_0/CONTROL/control
r23312 r23442 12 12 Group: 100 13 13 Showname: Settings Astra 19.2 (uljanow) plus transponder hotbird 13.0 14 Usepath: /var -
ipk/source.sh4/titansettings_uljanow_1sat_1_0/CONTROL/postinst
r22824 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
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 -
ipk/source.sh4/titansettings_uljanow_1sat_1_0/CONTROL/preinst
r22824 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=108 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_uljanow_1sat_1_0/CONTROL/prerm
r22824 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0 -
ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/control
r23139 r23442 12 12 Group: 100 13 13 Showname: Settings Kabel Unitymedia 14 Usepath: /var -
ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/postinst
r21553 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 echo "successfully installed" 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 6 FREE=`expr $SPACE - 100` 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 fi 2 12 3 touch /tmp/.tpk_needs_reboot 4 13 5 exit 0 -
ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/postrm
r21833 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 -
ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/preinst
r21833 r23442 1 1 #!/bin/sh 2 #3 TMP=/tmp/.set4 2 5 echo "installing settings ..." 6 buildgroup=`cat /etc/.buildgroup` 7 echo "checking OS" 8 if [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then 9 echo --------------------------- 10 echo DONT USE this TPK Package!! 11 echo --- 12 echo Only for $buildgroup Image!! 13 echo --------------------------- 14 exit 1 15 fi 16 17 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 18 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 19 FREE=`expr $SPACE - 100` 20 SIZE=30 21 echo "checking freespace" 22 echo packege size $SIZE kb 23 echo freespace size $FREE kb 24 if [ "$FREE" -lt "$SIZE" ]; then 25 echo "sorry no freespace left on device" 26 exit 1 27 else 28 echo ok 29 fi 30 else 31 echo "syncing disk" 32 sync 33 fi 34 35 if [ -e /tmp/.tpk_upgrade_start ];then 3 if [ -e /tmp/.tpk_upgrade_start ]; then 36 4 echo "tpk upgrade skip settings" 37 5 exit 1 -
ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/prerm
r18195 r23442 1 1 #!/bin/sh 2 TMP=/tmp/.set 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing settings" 2 12 3 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)