Changeset 12781
- Timestamp:
- 01/04/12 07:46:39 (12 years ago)
- Location:
- ipk/source.sh4
- Files:
-
- 192 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/emus_gbox_773/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/cwshare.cfg ]; then … … 49 42 fi 50 43 44 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 45 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 46 FREE=`expr $SPACE - 100` 47 echo new freespace size $FREE kb 48 else 49 echo "syncing disk" 50 sync 51 fi 51 52 exit 0 -
ipk/source.sh4/emus_gbox_773/CONTROL/postrm
r12395 r12781 2 2 TMP=/tmp/.keys 3 3 echo "successfully removed" 4 echo "syncing disk"5 sync6 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 6 FREE=`expr $SPACE - 100` 9 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 10 11 fi 11 12 -
ipk/source.sh4/emus_gbox_773/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 33 31 fi 34 32 echo "installing gbox and configs..." 35 33 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 34 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 35 FREE=`expr $SPACE - 100` 36 SIZE=1360 37 echo "checking freespace" 38 echo packege size $SIZE kb 39 echo freespace size $FREE kb 40 if [ "$FREE" -lt "$SIZE" ]; then 41 echo "sorry no freespace left on device" 42 exit 1 43 else 44 echo ok 45 fi 46 else 47 echo "syncing disk" 48 sync 49 fi 36 50 buildgroup=`cat /etc/.buildgroup` 37 51 echo "checking OS" … … 44 58 exit 1 45 59 fi 46 sync 60 47 61 exit 0 48 62 -
ipk/source.sh4/emus_gbox_773/CONTROL/prerm
r12395 r12781 2 2 TMP=/tmp/.keys 3 3 echo "syncing disk" 4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 4 11 5 if [ ! -e /var/keys/oscam.conf.oscam ]; then … … 34 28 fi 35 29 30 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 31 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 32 FREE=`expr $SPACE - 100` 33 echo new freespace size $FREE kb 34 else 35 echo "syncing disk" 36 sync 37 fi 38 36 39 echo "removing gbox and configs" 37 40 exit 0 -
ipk/source.sh4/emus_gbox_790/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/cwshare.cfg ]; then … … 49 42 fi 50 43 44 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 45 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 46 FREE=`expr $SPACE - 100` 47 echo new freespace size $FREE kb 48 else 49 echo "syncing disk" 50 sync 51 fi 52 51 53 exit 0 -
ipk/source.sh4/emus_gbox_790/CONTROL/postrm
r12395 r12781 2 2 TMP=/tmp/.keys 3 3 echo "successfully removed" 4 echo "syncing disk"5 sync6 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 6 FREE=`expr $SPACE - 100` 9 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 10 11 fi 11 12 sync13 14 12 exit 0 -
ipk/source.sh4/emus_gbox_790/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 51021 SIZE=1360 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing gbox and configs..." 35 36 buildgroup=`cat /etc/.buildgroup` … … 44 45 fi 45 46 46 sync47 47 exit 0 -
ipk/source.sh4/emus_gbox_790/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.keys 3 echo "syncing disk"4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 3 11 4 if [ ! -e /var/keys/oscam.conf.oscam ]; then … … 34 27 fi 35 28 29 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 30 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 31 FREE=`expr $SPACE - 100` 32 echo new freespace size $FREE kb 33 else 34 echo "syncing disk" 35 sync 36 fi 37 36 38 echo "removing gbox and configs" 37 39 exit 0 -
ipk/source.sh4/emus_incubuscamd_0_97/CONTROL/postinst
r12395 r12781 14 14 15 15 echo "successfully installed" 16 echo "syncing disk"17 sync18 16 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 19 17 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 20 18 FREE=`expr $SPACE - 100` 21 19 echo new freespace size $FREE kb 20 else 21 echo "syncing disk" 22 sync 22 23 fi 23 24 exit 0 -
ipk/source.sh4/emus_incubuscamd_0_97/CONTROL/postrm
r12395 r12781 2 2 TMP=/tmp/.incubuscamd 3 3 echo "successfully removed" 4 echo "syncing disk"5 sync6 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 6 FREE=`expr $SPACE - 100` 9 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 10 11 fi 11 12 exit 0 -
ipk/source.sh4/emus_incubuscamd_0_97/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.incubuscamd 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing incubusCamd ..." 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/emus_incubuscamd_0_97/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 # 3 echo "syncing disk" 4 sync 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 9 fi 3 10 4 echo "removing incubusCamd" 11 5 if [ ! -e /var/keys/incubusCamd.conf.incubus ]; then … … 17 11 mv /var/keys/incubusCamd.prio /var/keys/incubusCamd.prio.incubus 18 12 fi 13 14 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 15 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 16 FREE=`expr $SPACE - 100` 17 echo new freespace size $FREE kb 18 else 19 echo "syncing disk" 20 sync 21 fi 19 22 exit 0 20 23 -
ipk/source.sh4/emus_kbox_1_01pre24/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/cwshare.cfg ]; then … … 40 33 fi 41 34 35 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 36 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 37 FREE=`expr $SPACE - 100` 38 echo new freespace size $FREE kb 39 else 40 echo "syncing disk" 41 sync 42 fi 42 43 exit 0 -
ipk/source.sh4/emus_kbox_1_01pre24/CONTROL/postrm
r12395 r12781 3 3 echo "successfully removed" 4 4 echo "syncing disk" 5 sync6 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 7 FREE=`expr $SPACE - 100` 9 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 10 12 fi 11 13 12 sync13 14 14 exit 0 -
ipk/source.sh4/emus_kbox_1_01pre24/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE=1 5021 SIZE=160 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing kbox and configs..." 35 36 buildgroup=`cat /etc/.buildgroup` … … 44 45 fi 45 46 46 sync47 47 exit 0 -
ipk/source.sh4/emus_kbox_1_01pre24/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.keys 3 echo "syncing disk"4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 3 11 4 if [ ! -e /var/keys/cwshare.cfg.kbox ]; then … … 24 17 fi 25 18 19 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 21 FREE=`expr $SPACE - 100` 22 echo new freespace size $FREE kb 23 else 24 echo "syncing disk" 25 sync 26 fi 27 26 28 echo "removing kbox and configs" 27 29 exit 0 -
ipk/source.sh4/emus_oscam_5168/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/oscam.conf ]; then … … 75 68 echo "skip ipk config file: oscam.dvbapi.oscam" 76 69 fi 77 70 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 71 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 72 FREE=`expr $SPACE - 100` 73 echo new freespace size $FREE kb 74 else 75 echo "syncing disk" 76 sync 77 fi 78 78 exit 0 -
ipk/source.sh4/emus_oscam_5168/CONTROL/postrm
r12395 r12781 2 2 TMP=/tmp/.keys 3 3 echo "successfully removed" 4 echo "syncing disk"5 sync6 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 6 FREE=`expr $SPACE - 100` 9 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 10 11 fi 11 12 12 sync13 14 13 exit 0 -
ipk/source.sh4/emus_oscam_5168/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE=7 6521 SIZE=780 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing Oscam config..." 35 36 … … 45 46 fi 46 47 47 sync48 48 exit 0 -
ipk/source.sh4/emus_oscam_5168/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.keys 3 echo "syncing disk"4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 3 11 4 if [ ! -e /var/keys/oscam.conf.oscam ]; then … … 43 36 rm /var/keys/oscam.dvbapi 44 37 fi 45 38 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 39 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 40 FREE=`expr $SPACE - 100` 41 echo new freespace size $FREE kb 42 else 43 echo "syncing disk" 44 sync 45 fi 46 46 echo "removing oscam and configs" 47 47 exit 0 -
ipk/source.sh4/emus_oscam_5866/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/oscam.conf ]; then … … 75 68 echo "skip ipk config file: oscam.dvbapi.oscam" 76 69 fi 77 70 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 71 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 72 FREE=`expr $SPACE - 100` 73 echo new freespace size $FREE kb 74 else 75 echo "syncing disk" 76 sync 77 fi 78 78 exit 0 -
ipk/source.sh4/emus_oscam_5866/CONTROL/postrm
r12395 r12781 3 3 echo "successfully removed" 4 4 echo "syncing disk" 5 sync6 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 7 FREE=`expr $SPACE - 100` 9 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 10 12 fi 11 13 12 sync13 14 14 exit 0 -
ipk/source.sh4/emus_oscam_5866/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 76521 SIZE=870 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing Oscam config..." 35 36 … … 45 46 fi 46 47 47 sync48 48 exit 0 -
ipk/source.sh4/emus_oscam_5866/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.keys 3 echo "syncing disk"4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 3 11 4 if [ ! -e /var/keys/oscam.conf.oscam ]; then … … 43 36 rm /var/keys/oscam.dvbapi 44 37 fi 45 38 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 39 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 40 FREE=`expr $SPACE - 100` 41 echo new freespace size $FREE kb 42 else 43 echo "syncing disk" 44 sync 45 fi 46 46 echo "removing oscam and configs" 47 47 exit 0 -
ipk/source.sh4/emus_vizcam_1_15/CONTROL/postinst
r12395 r12781 5 5 CONFIGDIR=/var/etc 6 6 echo "successfully installed" 7 echo "syncing disk"8 sync9 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then10 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`11 FREE=`expr $SPACE - 100`12 echo new freespace size $FREE kb13 fi14 7 15 8 if [ ! -e /var/keys/vizcam.conf ]; then … … 48 41 echo "skip ipk config file: vizcam.dvbapi.vizcam" 49 42 fi 50 43 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 44 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 45 FREE=`expr $SPACE - 100` 46 echo new freespace size $FREE kb 47 else 48 echo "syncing disk" 49 sync 50 fi 51 51 exit 0 -
ipk/source.sh4/emus_vizcam_1_15/CONTROL/postrm
r12395 r12781 3 3 echo "successfully removed" 4 4 echo "syncing disk" 5 sync6 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 7 FREE=`expr $SPACE - 100` 9 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 10 12 fi 11 13 12 sync13 14 14 exit 0 -
ipk/source.sh4/emus_vizcam_1_15/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.keys 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 79021 SIZE=810 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing Vizcam and configs..." 35 36 buildgroup=`cat /etc/.buildgroup` … … 44 45 fi 45 46 46 sync47 47 exit 0 -
ipk/source.sh4/emus_vizcam_1_15/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.keys 3 echo "syncing disk"4 sync5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`7 FREE=`expr $SPACE - 100`8 echo freespace size $FREE kb9 fi10 3 11 4 if [ ! -e /var/keys/vizcam.conf.vizcam ]; then … … 28 21 rm /var/keys/vizcam.dvbapi 29 22 fi 30 23 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 24 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 25 FREE=`expr $SPACE - 100` 26 echo new freespace size $FREE kb 27 else 28 echo "syncing disk" 29 sync 30 fi 31 31 echo "removing Vizcam and configs" 32 32 exit 0 -
ipk/source.sh4/swapemus_camd3_3_902/CONTROL/postinst
r7451 r12781 36 36 echo "syncing disk" 37 37 38 sync 38 link=`readlink /var/swap` 39 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 40 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 41 FREE=`expr $SPACE - 100` 42 echo new freespace size $FREE kb 43 else 44 echo "syncing disk" 45 sync 46 fi 39 47 exit 0 -
ipk/source.sh4/swapemus_camd3_3_902/CONTROL/postrm
r7451 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk" 9 sync 8 link=`readlink /var/swap` 9 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 10 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 FREE=`expr $SPACE - 100` 12 echo new freespace size $FREE kb 13 else 14 echo "syncing disk" 15 sync 16 fi 10 17 exit 0 -
ipk/source.sh4/swapemus_camd3_3_902/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.camd 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Camd 3.902 to swapstick..." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=360 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" … … 38 53 exit 1 39 54 fi 40 sync41 55 42 56 exit 0 -
ipk/source.sh4/swapemus_camd3_3_902/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.camd 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/camd3.conf.camd3 ]; then … … 18 17 fi 19 18 20 sync 19 link=`readlink /var/swap` 20 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 21 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 FREE=`expr $SPACE - 100` 23 echo new freespace size $FREE kb 24 else 25 echo "syncing disk" 26 sync 27 fi 21 28 echo "Removing Camd 3.902 from Swapstick" 22 29 exit 0 -
ipk/source.sh4/swapemus_incubus_1_22/CONTROL/postinst
r7451 r12781 42 42 fi 43 43 44 echo "successfully installed" 45 echo "syncing disk" 44 link=`readlink /var/swap` 45 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 46 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 47 FREE=`expr $SPACE - 100` 48 echo new freespace size $FREE kb 49 else 50 echo "syncing disk" 51 sync 52 fi 46 53 47 54 sync -
ipk/source.sh4/swapemus_incubus_1_22/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_incubus_1_22/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.incubus 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Incubuscamd 1.22 to swapstick..." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=475 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" … … 38 53 exit 1 39 54 fi 40 sync41 55 42 56 exit 0 -
ipk/source.sh4/swapemus_incubus_1_22/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.incubus 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/incubusCamd.channelinfo.incubus ]; then … … 23 22 fi 24 23 25 sync 24 link=`readlink /var/swap` 25 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 26 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 27 FREE=`expr $SPACE - 100` 28 echo new freespace size $FREE kb 29 else 30 echo "syncing disk" 31 sync 32 fi 26 33 echo "Removing Incubuscamd 1.22 from Swapstick" 27 34 exit 0 -
ipk/source.sh4/swapemus_mgcamd_1_35/CONTROL/postinst
r7451 r12781 71 71 72 72 echo "successfully installed" 73 echo "syncing disk" 74 75 sync 73 link=`readlink /var/swap` 74 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 75 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 76 FREE=`expr $SPACE - 100` 77 echo new freespace size $FREE kb 78 else 79 echo "syncing disk" 80 sync 81 fi 76 82 exit 0 -
ipk/source.sh4/swapemus_mgcamd_1_35/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_mgcamd_1_35/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.mgcamd 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Mgcamd 1.35 to swapstick..." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=660 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" … … 39 54 fi 40 55 41 sync42 43 56 exit 0 -
ipk/source.sh4/swapemus_mgcamd_1_35/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.mgcamd 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/cccamd.list.mgcamd ]; then … … 37 36 rm /var/swap/keys/replace.list 38 37 fi 39 40 sync 38 link=`readlink /var/swap` 39 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 40 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 41 FREE=`expr $SPACE - 100` 42 echo new freespace size $FREE kb 43 else 44 echo "syncing disk" 45 sync 46 fi 41 47 echo "Removing mgcamd 4736 from Swapstick" 42 48 exit 0 -
ipk/source.sh4/swapemus_oscam_5168/CONTROL/postinst
r7451 r12781 79 79 80 80 echo "successfully installed" 81 echo "syncing disk" 82 83 sync 81 link=`readlink /var/swap` 82 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 83 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 84 FREE=`expr $SPACE - 100` 85 echo new freespace size $FREE kb 86 else 87 echo "syncing disk" 88 sync 89 fi 84 90 exit 0 -
ipk/source.sh4/swapemus_oscam_5168/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_oscam_5168/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.oscam 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Oscam 5168 to swapstick..." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=780 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" … … 39 54 fi 40 55 41 sync42 43 56 exit 0 -
ipk/source.sh4/swapemus_oscam_5168/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.oscam 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/oscam.conf.oscam ]; then -
ipk/source.sh4/swapemus_oscam_5866/CONTROL/postinst
r8916 r12781 79 79 80 80 echo "successfully installed" 81 echo "syncing disk" 82 83 sync 81 link=`readlink /var/swap` 82 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 83 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 84 FREE=`expr $SPACE - 100` 85 echo new freespace size $FREE kb 86 else 87 echo "syncing disk" 88 sync 89 fi 84 90 exit 0 -
ipk/source.sh4/swapemus_oscam_5866/CONTROL/postrm
r8916 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_oscam_5866/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.oscam 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Oscam RC1.10 Build 5866 to swapstick..." 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=880 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 29 45 30 46 buildgroup=`cat /etc/.buildgroup` … … 39 55 fi 40 56 41 sync42 43 57 exit 0 -
ipk/source.sh4/swapemus_oscam_5866/CONTROL/prerm
r8916 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.oscam 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/oscam.conf.oscam ]; then … … 43 42 fi 44 43 45 sync 44 link=`readlink /var/swap` 45 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 46 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 47 FREE=`expr $SPACE - 100` 48 echo new freespace size $FREE kb 49 else 50 echo "syncing disk" 51 sync 52 fi 46 53 echo "Removing Oscam RC1.10 Build 5866 from Swapstick" 47 54 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_15/CONTROL/postinst
r7451 r12781 52 52 53 53 echo "successfully installed" 54 echo "syncing disk" 55 56 sync 54 link=`readlink /var/swap` 55 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 56 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 57 FREE=`expr $SPACE - 100` 58 echo new freespace size $FREE kb 59 else 60 echo "syncing disk" 61 sync 62 fi 57 63 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_15/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_15/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.vizcam 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Vizcam 1.15 to swapstick..." 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=790 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 29 45 30 46 buildgroup=`cat /etc/.buildgroup` … … 39 55 fi 40 56 41 sync42 43 57 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_15/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.vizcam 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/vizcam.conf.vizcam ]; then … … 22 21 rm /var/swap/keys/vizcam.dvbapi 23 22 fi 24 25 sync 23 link=`readlink /var/swap` 24 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 25 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 26 FREE=`expr $SPACE - 100` 27 echo new freespace size $FREE kb 28 else 29 echo "syncing disk" 30 sync 31 fi 26 32 echo "Removing Vizcam_1.15_swap from Swapstick" 27 33 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_19/CONTROL/postinst
r9680 r12781 52 52 53 53 echo "successfully installed" 54 echo "syncing disk" 55 56 sync 54 link=`readlink /var/swap` 55 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 56 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 57 FREE=`expr $SPACE - 100` 58 echo new freespace size $FREE kb 59 else 60 echo "syncing disk" 61 sync 62 fi 57 63 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_19/CONTROL/postrm
r9680 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_19/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.vizcam 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 echo "installing Vizcam 1.19 to swapstick..." 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=870 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 29 45 30 46 buildgroup=`cat /etc/.buildgroup` … … 39 55 fi 40 56 41 sync42 43 57 exit 0 -
ipk/source.sh4/swapemus_vizcam_1_19/CONTROL/prerm
r9680 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.vizcam 3 echo "syncing disk"4 3 5 4 if [ ! -e /var/swap/keys/vizcam.conf.vizcam ]; then … … 23 22 fi 24 23 25 sync 24 link=`readlink /var/swap` 25 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 26 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 27 FREE=`expr $SPACE - 100` 28 echo new freespace size $FREE kb 29 else 30 echo "syncing disk" 31 sync 32 fi 26 33 echo "Removing Vizcam_1.19_swap from Swapstick" 27 34 exit 0 -
ipk/source.sh4/swapscreensaver_default_1_0/CONTROL/postinst
r7451 r12781 2 2 TMP=/tmp/.swapscreensaver 3 3 echo "successfully installed" 4 echo "syncing disk" 4 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 5 14 echo "please reboot your box so that the extension will be mounted..." 6 sync7 15 exit 0 -
ipk/source.sh4/swapscreensaver_default_1_0/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapscreensaver_default_1_0/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.swapscreensaver 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 fi 28 26 echo "swapstick found...." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=1660 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" -
ipk/source.sh4/swapscreensaver_default_1_0/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.swapscreensaver 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing screensaver pictures from swapstick" 6 13 exit 0 -
ipk/source.sh4/swapscreensaver_fcbayern_1_0/CONTROL/postinst
r7451 r12781 2 2 TMP=/tmp/.swapscreensaver 3 3 echo "successfully installed" 4 echo "syncing disk"5 4 echo "please reboot your box so that the extension will be mounted..." 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/swapscreensaver_fcbayern_1_0/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapscreensaver_fcbayern_1_0/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.swapscreensaver 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 fi 28 26 echo "swapstick found...." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=3660 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" -
ipk/source.sh4/swapscreensaver_fcbayern_1_0/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.swapscreensaver 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing screensaver pictures from swapstick" 6 13 exit 0 -
ipk/source.sh4/swapscreensaver_hotgirls_1_0/CONTROL/postinst
r7451 r12781 2 2 TMP=/tmp/.swapscreensaver 3 3 echo "successfully installed" 4 echo "syncing disk"5 4 echo "please reboot your box so that the extension will be mounted..." 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/swapscreensaver_hotgirls_1_0/CONTROL/postrm
r7451 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/swapscreensaver_hotgirls_1_0/CONTROL/preinst
r11789 r12781 2 2 # 3 3 TMP=/tmp/.swapscreensaver 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 fi 28 26 echo "swapstick found...." 29 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=18360 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 30 45 buildgroup=`cat /etc/.buildgroup` 31 46 echo "checking OS" -
ipk/source.sh4/swapscreensaver_hotgirls_1_0/CONTROL/prerm
r7451 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.swapscreensaver 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing screensaver pictures from swapstick" 6 13 exit 0 -
ipk/source.sh4/titanbrowser_netsurf/CONTROL/postinst
r12581 r12781 3 3 4 4 echo "successfully installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titanbrowser_netsurf/CONTROL/postrm
r12581 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk"8 sync9 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 10 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 9 FREE=`expr $SPACE - 100` 12 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 13 14 fi 14 15 exit 0 -
ipk/source.sh4/titanbrowser_netsurf/CONTROL/preinst
r12581 r12781 2 2 # 3 3 TMP=/tmp/.infos 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 22 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 23 21 FREE=`expr $SPACE - 100` 24 SIZE= 2022 SIZE=15 25 23 echo "checking freespace" 26 24 echo packege size $SIZE kb … … 30 28 exit 1 31 29 else 32 echo ok 33 fi 30 echo ok 31 fi 32 else 33 echo "syncing disk" 34 sync 34 35 fi 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titanbrowser_netsurf/CONTROL/prerm
r12581 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing netsurf Plugin" -
ipk/source.sh4/titaninfos_callmonitor/CONTROL/postinst
r12395 r12781 3 3 4 4 echo "successfully installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titaninfos_callmonitor/CONTROL/postrm
r12395 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk"8 sync9 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 10 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 9 FREE=`expr $SPACE - 100` 12 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 13 14 fi 14 15 exit 0 -
ipk/source.sh4/titaninfos_callmonitor/CONTROL/preinst
r12395 r12781 22 22 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 23 23 FREE=`expr $SPACE - 100` 24 SIZE= 77024 SIZE=1550 25 25 echo "checking freespace" 26 26 echo packege size $SIZE kb … … 30 30 exit 1 31 31 else 32 echo ok 33 fi 32 echo ok 33 fi 34 else 35 echo "syncing disk" 36 sync 34 37 fi 35 38 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titaninfos_callmonitor/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing Callmonitor Plugin" -
ipk/source.sh4/titaninfos_imdb/CONTROL/postinst
r12716 r12781 3 3 4 4 echo "successfully installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titaninfos_imdb/CONTROL/postrm
r12716 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk"8 sync9 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 10 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 9 FREE=`expr $SPACE - 100` 12 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 13 14 fi 14 15 exit 0 -
ipk/source.sh4/titaninfos_imdb/CONTROL/preinst
r12716 r12781 2 2 # 3 3 TMP=/tmp/.infos 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 22 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 23 21 FREE=`expr $SPACE - 100` 24 SIZE=10 022 SIZE=10 25 23 echo "checking freespace" 26 24 echo packege size $SIZE kb … … 30 28 exit 1 31 29 else 32 echo ok 33 fi 30 echo ok 31 fi 32 else 33 echo "syncing disk" 34 sync 34 35 fi 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titaninfos_imdb/CONTROL/prerm
r12716 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing imdb Plugin" -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/postinst
r12395 r12781 3 3 4 4 echo "successful installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/postrm
r12551 r12781 3 3 echo "Erfolgreich deinstalliert..." 4 4 5 sync 6 echo "Stelle Original rcmap wieder her" 7 mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap 8 9 sync 5 echo "Stelle Original rcmap wieder her" 6 mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap 10 7 11 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then … … 13 10 FREE=`expr $SPACE - 100` 14 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 15 15 fi 16 16 exit 0 -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/preinst
r12551 r12781 2 2 # 3 3 TMP=/tmp/.bootlogos 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 1024 echo " Überprüfe freien Speicherplatz....."21 SIZE=20 22 echo "checking freespace" 25 23 echo packege size $SIZE kb 26 24 echo freespace size $FREE kb 27 25 if [ "$FREE" -lt "$SIZE" ]; then 28 echo " Entschuldigung, nicht genug freier Speicherplatz verfügbar!"26 echo "sorry no freespace left on device" 29 27 exit 1 30 28 else 31 echo freespace ok29 echo ok 32 30 fi 31 else 32 echo "syncing disk" 33 sync 33 34 fi 34 35 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titankeymaps_neutrino/CONTROL/prerm
r12551 r12781 3 3 TMP=/tmp/.keymap 4 4 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 echo freespace size $FREE kb 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 echo "Deinstalliere Neutrino Keymap" -
ipk/source.sh4/titannetwork_networkbrowser/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.tmp 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 13 12 echo "Please use GUI restart !!!!" 14 13 -
ipk/source.sh4/titannetwork_networkbrowser/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titannetwork_networkbrowser/CONTROL/preinst
r12395 r12781 2 2 # 3 3 TMP=/tmp/.tmp 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 40021 SIZE=109 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing Networkbrowser ..." 35 36 -
ipk/source.sh4/titannetwork_networkbrowser/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing Networkbrowser" -
ipk/source.sh4/titanplayers_mc/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.tmp 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 12 -
ipk/source.sh4/titanplayers_mc/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanplayers_mc/CONTROL/preinst
r12552 r12781 2 2 # 3 3 TMP=/tmp/.tmp 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE=1 30021 SIZE=1200 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing AAF MediaCenter ..." 35 36 -
ipk/source.sh4/titanplayers_mc/CONTROL/prerm
r12450 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing AAF MediaCenter" -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.set 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 7 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 6 FREE=`expr $SPACE - 100` 9 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 10 11 fi 11 12 echo "Rebooting Box in 10s..." -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/postrm
r12395 r12781 14 14 15 15 echo "successfully removed" 16 echo "syncing disk"17 sync18 16 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 19 17 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 20 18 FREE=`expr $SPACE - 100` 21 19 echo new freespace size $FREE kb 20 else 21 echo "syncing disk" 22 sync 22 23 fi 23 24 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/preinst
r12238 r12781 2 2 # 3 3 TMP=/tmp/.set 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 30 28 fi 31 29 30 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 31 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 32 FREE=`expr $SPACE - 100` 33 SIZE=270 34 echo "checking freespace" 35 echo packege size $SIZE kb 36 echo freespace size $FREE kb 37 if [ "$FREE" -lt "$SIZE" ]; then 38 echo "sorry no freespace left on device" 39 exit 1 40 else 41 echo ok 42 fi 43 else 44 echo "syncing disk" 45 sync 46 fi 47 32 48 echo "remove /var/etc/titan/bouquets.*" 33 49 rm -rf /var/etc/titan/bouquets.* > /dev/null 2>&1 -
ipk/source.sh4/titansettings_default_sat_1_0/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.set 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing settings" -
ipk/source.sh4/titanskins_0Acht5Zehn/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 12 -
ipk/source.sh4/titanskins_0Acht5Zehn/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_0Acht5Zehn/CONTROL/preinst
r12642 r12781 21 21 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 22 FREE=`expr $SPACE - 100` 23 SIZE= 130023 SIZE=750 24 24 echo "checking freespace" 25 25 echo packege size $SIZE kb … … 29 29 exit 1 30 30 else 31 echo ok 31 echo ok 32 32 fi 33 else 34 echo "syncing disk" 35 sync 33 36 fi 34 37 -
ipk/source.sh4/titanskins_0Acht5Zehn/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing 0Acht5Zehn grey Skin" -
ipk/source.sh4/titanskins_0Acht5Zehnblack/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 12 -
ipk/source.sh4/titanskins_0Acht5Zehnblack/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_0Acht5Zehnblack/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 124021 SIZE=750 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 31 else 32 echo "syncing disk" 33 sync 33 34 fi 34 35 -
ipk/source.sh4/titanskins_0Acht5Zehnblack/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing 0Acht5Zehn black Skin" -
ipk/source.sh4/titanskins_0Acht5Zehnwhite/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 12 -
ipk/source.sh4/titanskins_0Acht5Zehnwhite/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_0Acht5Zehnwhite/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 124021 SIZE=720 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 32 fi 29 echo ok 30 fi 31 else 32 echo "syncing disk" 33 sync 33 34 fi 34 35 -
ipk/source.sh4/titanskins_0Acht5Zehnwhite/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing 0Acht5Zehn white Skin" -
ipk/source.sh4/titanskins_default/CONTROL/postinst
r12395 r12781 9 9 FREE=`expr $SPACE - 100` 10 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 11 14 fi 12 15 -
ipk/source.sh4/titanskins_default/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_default/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 69021 SIZE=720 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 echo "installing Default Skin ..." 35 36 -
ipk/source.sh4/titanskins_default/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing Default Skin" -
ipk/source.sh4/titanskins_default_grey/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk"5 sync6 7 4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 5 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 6 FREE=`expr $SPACE - 100` 10 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 11 11 fi 12 12 -
ipk/source.sh4/titanskins_default_grey/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_default_grey/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 79021 SIZE=480 24 22 echo "checking freespace" 25 23 echo packege size $SIZE kb … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titanskins_default_grey/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing Default Skin" -
ipk/source.sh4/titanskins_tobayer01/CONTROL/postinst
r12395 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk"5 4 echo "now you can choose the new skin...." 6 sync7 8 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 9 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 10 7 FREE=`expr $SPACE - 100` 11 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 12 fi 13 13 -
ipk/source.sh4/titanskins_tobayer01/CONTROL/postrm
r12395 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_tobayer01/CONTROL/preinst
r12642 r12781 21 21 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 22 FREE=`expr $SPACE - 100` 23 SIZE= 131023 SIZE=980 24 24 echo "checking freespace" 25 echo pack age size $SIZE kb25 echo packege size $SIZE kb 26 26 echo freespace size $FREE kb 27 27 if [ "$FREE" -lt "$SIZE" ]; then … … 29 29 exit 1 30 30 else 31 echo ok 31 echo ok 32 32 fi 33 fi 33 else 34 echo "syncing disk" 35 sync 36 fi 34 37 35 38 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titanskins_tobayer01/CONTROL/prerm
r12395 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing tobayer01 skin" -
ipk/source.sh4/titanskins_ufs912/CONTROL/postinst
r12628 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 4 5 5 echo "now you can choose the new skin...." 6 sync7 8 6 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 9 7 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 10 8 FREE=`expr $SPACE - 100` 11 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 12 13 fi 13 14 -
ipk/source.sh4/titanskins_ufs912/CONTROL/postrm
r12628 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk"9 sync10 8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 11 9 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 10 FREE=`expr $SPACE - 100` 13 11 echo new freespace size $FREE kb 12 else 13 echo "syncing disk" 14 sync 14 15 fi 15 16 exit 0 -
ipk/source.sh4/titanskins_ufs912/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 21 19 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 22 20 FREE=`expr $SPACE - 100` 23 SIZE= 183021 SIZE=972 24 22 echo "checking freespace" 25 echo pack age size $SIZE kb23 echo packege size $SIZE kb 26 24 echo freespace size $FREE kb 27 25 if [ "$FREE" -lt "$SIZE" ]; then … … 29 27 exit 1 30 28 else 31 echo ok 29 echo ok 32 30 fi 33 fi 31 else 32 echo "syncing disk" 33 sync 34 fi 34 35 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titanskins_ufs912/CONTROL/prerm
r12628 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing ufs912 skin" -
ipk/source.sh4/titanswappicons_black/CONTROL/postinst
r9842 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 14 6 15 exit 0 -
ipk/source.sh4/titanswappicons_black/CONTROL/postrm
r12642 r12781 4 4 echo "successfully removed" 5 5 echo "syncing disk" 6 sync 6 link=`readlink /var/swap` 7 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 8 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 FREE=`expr $SPACE - 100` 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 14 fi 7 15 exit 0 -
ipk/source.sh4/titanswappicons_black/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=1360 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 45 29 46 buildgroup=`cat /etc/.buildgroup` 30 47 echo "checking OS" … … 40 57 echo "installing swap Picons for Titan..." 41 58 42 sync43 44 59 exit 0 -
ipk/source.sh4/titanswappicons_black/CONTROL/prerm
r11107 r12781 2 2 TMP=/tmp/.picon 3 3 echo "syncing disk" 4 sync 5 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 echo "removing picons..." 7 14 exit 0 -
ipk/source.sh4/titanswappicons_black3d/CONTROL/postinst
r10918 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_black3d/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_black3d/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 27 25 echo "swapstick found...." 28 26 27 link=`readlink /var/swap` 28 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 29 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 30 FREE=`expr $SPACE - 100` 31 SIZE=3592 32 echo "checking freespace" 33 echo packege size $SIZE kb 34 echo freespace size $FREE kb 35 if [ "$FREE" -lt "$SIZE" ]; then 36 echo "sorry no freespace left on device" 37 exit 1 38 else 39 echo ok 40 fi 41 else 42 echo "syncing disk" 43 sync 44 fi 45 29 46 buildgroup=`cat /etc/.buildgroup` 30 47 echo "checking OS" … … 40 57 echo "installing swap Picons for Titan..." 41 58 42 43 59 exit 0 -
ipk/source.sh4/titanswappicons_black3d/CONTROL/prerm
r11106 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswappicons_cool/CONTROL/postinst
r12627 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_cool/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_cool/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1880 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswappicons_cool/CONTROL/prerm
r12627 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswappicons_gold/CONTROL/postinst
r9842 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_gold/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_gold/CONTROL/preinst
r12642 r12781 26 26 fi 27 27 echo "swapstick found...." 28 28 link=`readlink /var/swap` 29 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 30 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 31 FREE=`expr $SPACE - 100` 32 SIZE=5880 33 echo "checking freespace" 34 echo packege size $SIZE kb 35 echo freespace size $FREE kb 36 if [ "$FREE" -lt "$SIZE" ]; then 37 echo "sorry no freespace left on device" 38 exit 1 39 else 40 echo ok 41 fi 42 else 43 echo "syncing disk" 44 sync 45 fi 29 46 buildgroup=`cat /etc/.buildgroup` 30 47 echo "checking OS" -
ipk/source.sh4/titanswappicons_gold/CONTROL/prerm
r11104 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswappicons_grey/CONTROL/postinst
r9829 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_grey/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_grey/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1460 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswappicons_grey/CONTROL/prerm
r11103 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswappicons_transparent/CONTROL/postinst
r11203 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_transparent/CONTROL/postrm
r12642 r12781 4 4 5 5 echo "successfully removed" 6 echo "syncing disk" 7 sync 6 link=`readlink /var/swap` 7 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 8 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 FREE=`expr $SPACE - 100` 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 14 fi 8 15 exit 0 -
ipk/source.sh4/titanswappicons_transparent/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1560 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswappicons_transparent/CONTROL/prerm
r11203 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing Picons..." -
ipk/source.sh4/titanswappicons_white/CONTROL/postinst
r9890 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_white/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_white/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1560 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswappicons_white/CONTROL/prerm
r11102 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswappicons_white3d/CONTROL/postinst
r11110 r12781 2 2 TMP=/tmp/.picon 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 6 13 exit 0 -
ipk/source.sh4/titanswappicons_white3d/CONTROL/postrm
r12642 r12781 3 3 4 4 echo "successfully removed" 5 echo "syncing disk" 6 sync 5 link=`readlink /var/swap` 6 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 7 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 8 FREE=`expr $SPACE - 100` 9 echo new freespace size $FREE kb 10 else 11 echo "syncing disk" 12 sync 13 fi 7 14 exit 0 -
ipk/source.sh4/titanswappicons_white3d/CONTROL/preinst
r12691 r12781 2 2 # 3 3 TMP=/tmp/.picon 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=4860 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswappicons_white3d/CONTROL/prerm
r11110 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.picon 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 6 13 echo "removing picons..." -
ipk/source.sh4/titanswapskins_0Acht5Zehn/CONTROL/postinst
r10923 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 6 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 -
ipk/source.sh4/titanswapskins_0Acht5Zehn/CONTROL/postrm
r11067 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk" 9 sync 10 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 11 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 8 link=`readlink /var/swap` 9 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 10 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 11 FREE=`expr $SPACE - 100` 13 12 echo new freespace size $FREE kb 13 else 14 echo "syncing disk" 15 sync 14 16 fi 15 17 exit 0 -
ipk/source.sh4/titanswapskins_0Acht5Zehn/CONTROL/preinst
r11782 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=751 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_0Acht5Zehn/CONTROL/prerm
r11156 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk" 4 sync 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 6 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 9 11 fi 10 12 echo "removing Swap 0Acht5Zehn grey Skin" -
ipk/source.sh4/titanswapskins_0Acht5Zehnblack/CONTROL/postinst
r11159 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 6 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 -
ipk/source.sh4/titanswapskins_0Acht5Zehnblack/CONTROL/postrm
r11159 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk" 9 sync 10 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 11 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 8 link=`readlink /var/swap` 9 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 10 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 11 FREE=`expr $SPACE - 100` 13 12 echo new freespace size $FREE kb 13 else 14 echo "syncing disk" 15 sync 14 16 fi 15 17 exit 0 -
ipk/source.sh4/titanswapskins_0Acht5Zehnblack/CONTROL/preinst
r11782 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=750 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_0Acht5Zehnblack/CONTROL/prerm
r11159 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk" 4 sync 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 6 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 9 11 fi 10 12 echo "removing Swap 0Acht5Zehn black Skin" -
ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/postinst
r10931 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 5 sync 6 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 13 exit 0 -
ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/postrm
r11066 r12781 6 6 7 7 echo "successfully removed" 8 echo "syncing disk" 9 sync 10 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 11 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 8 link=`readlink /var/swap` 9 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 10 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 12 11 FREE=`expr $SPACE - 100` 13 12 echo new freespace size $FREE kb 13 else 14 echo "syncing disk" 15 sync 14 16 fi 15 17 exit 0 -
ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/preinst
r11782 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=750 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/prerm
r11158 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk" 4 sync 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1` 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 6 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 7 echo new freespace size $FREE kb 8 else 9 echo "syncing disk" 10 sync 9 11 fi 10 12 echo "removing Swap 0Acht5Zehn white Skin" -
ipk/source.sh4/titanswapskins_cool/CONTROL/postinst
r12627 r12781 2 2 TMP=/tmp/.skin 3 3 echo "successfully installed" 4 echo "syncing disk" 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 5 13 echo "now you can choose the new skin...." 6 sync7 14 exit 0 -
ipk/source.sh4/titanswapskins_cool/CONTROL/postrm
r12627 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/titanswapskins_cool/CONTROL/preinst
r12627 r12781 2 2 # 3 3 TMP=/tmp/.skin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1000 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_cool/CONTROL/prerm
r12627 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.skin 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing cool Skin from swapstick" 6 13 exit 0 -
ipk/source.sh4/titanswapskins_default_grey/CONTROL/postinst
r11034 r12781 2 2 TMP=/tmp/.skin 3 3 echo "successfully installed" 4 echo "syncing disk" 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 5 13 echo "now you can choose the new skin...." 6 sync7 14 exit 0 -
ipk/source.sh4/titanswapskins_default_grey/CONTROL/postrm
r11034 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/titanswapskins_default_grey/CONTROL/preinst
r11782 r12781 2 2 # 3 3 TMP=/tmp/.skin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=470 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_default_grey/CONTROL/prerm
r11034 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.skin 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing default_grey Skin from swapstick" 6 13 exit 0 -
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/postinst
r11214 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 5 13 echo "now you can choose the new skin...." 6 sync7 14 exit 0 -
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/postrm
r11214 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/preinst
r11782 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1050 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_tobayer01/CONTROL/prerm
r11214 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing tobayer01 skin from swapstick" 6 13 exit 0 -
ipk/source.sh4/titanswapskins_ufs912/CONTROL/postinst
r12628 r12781 2 2 TMP=/tmp/.titanskin 3 3 echo "successfully installed" 4 echo "syncing disk" 4 link=`readlink /var/swap` 5 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 6 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 FREE=`expr $SPACE - 100` 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 12 fi 5 13 echo "now you can choose the new skin...." 6 sync 14 7 15 exit 0 -
ipk/source.sh4/titanswapskins_ufs912/CONTROL/postrm
r12628 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk" 8 sync 7 link=`readlink /var/swap` 8 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 9 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 9 16 exit 0 -
ipk/source.sh4/titanswapskins_ufs912/CONTROL/preinst
r12628 r12781 2 2 # 3 3 TMP=/tmp/.titanskin 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 26 24 fi 27 25 echo "swapstick found...." 28 26 link=`readlink /var/swap` 27 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 28 SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 29 FREE=`expr $SPACE - 100` 30 SIZE=1030 31 echo "checking freespace" 32 echo packege size $SIZE kb 33 echo freespace size $FREE kb 34 if [ "$FREE" -lt "$SIZE" ]; then 35 echo "sorry no freespace left on device" 36 exit 1 37 else 38 echo ok 39 fi 40 else 41 echo "syncing disk" 42 sync 43 fi 29 44 buildgroup=`cat /etc/.buildgroup` 30 45 echo "checking OS" -
ipk/source.sh4/titanswapskins_ufs912/CONTROL/prerm
r12628 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.titanskin 3 echo "syncing disk" 4 sync 3 link=`readlink /var/swap` 4 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then 5 SPACE=`df | grep /dev/mtdblock | grep mnt | 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 5 12 echo "removing ufs912 skin from swapstick" 6 13 exit 0 -
ipk/source.sh4/titantools_PermanentTime/CONTROL/postinst
r12619 r12781 3 3 4 4 echo "successfully installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titantools_PermanentTime/CONTROL/postrm
r12619 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk"8 sync9 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 10 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 9 FREE=`expr $SPACE - 100` 12 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 13 14 fi 14 15 exit 0 -
ipk/source.sh4/titantools_PermanentTime/CONTROL/preinst
r12623 r12781 2 2 # 3 3 TMP=/tmp/.infos 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 22 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 23 21 FREE=`expr $SPACE - 100` 24 SIZE= 1022 SIZE=8 25 23 echo "checking freespace" 26 24 echo packege size $SIZE kb … … 30 28 exit 1 31 29 else 32 echo ok 33 fi 30 echo ok 31 fi 32 else 33 echo "syncing disk" 34 sync 34 35 fi 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titantools_PermanentTime/CONTROL/prerm
r12619 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing permTime Plugin" -
ipk/source.sh4/titantools_keylock/CONTROL/postinst
r12554 r12781 3 3 4 4 echo "successfully installed" 5 echo "syncing disk"6 sync7 5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 8 6 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 9 7 FREE=`expr $SPACE - 100` 10 8 echo new freespace size $FREE kb 9 else 10 echo "syncing disk" 11 sync 11 12 fi 12 13 exit 0 -
ipk/source.sh4/titantools_keylock/CONTROL/postrm
r12554 r12781 5 5 6 6 echo "successfully removed" 7 echo "syncing disk"8 sync9 7 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 10 8 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 11 9 FREE=`expr $SPACE - 100` 12 10 echo new freespace size $FREE kb 11 else 12 echo "syncing disk" 13 sync 13 14 fi 14 15 exit 0 -
ipk/source.sh4/titantools_keylock/CONTROL/preinst
r12642 r12781 2 2 # 3 3 TMP=/tmp/.infos 4 echo "syncing disk"5 sync6 4 7 5 model=`cat /etc/model` … … 22 20 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 23 21 FREE=`expr $SPACE - 100` 24 SIZE=10 022 SIZE=10 25 23 echo "checking freespace" 26 24 echo packege size $SIZE kb … … 30 28 exit 1 31 29 else 32 echo ok 33 fi 30 echo ok 31 fi 32 else 33 echo "syncing disk" 34 sync 34 35 fi 35 36 buildgroup=`cat /etc/.buildgroup` -
ipk/source.sh4/titantools_keylock/CONTROL/prerm
r12554 r12781 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 echo "syncing disk"4 sync5 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 6 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 7 5 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 9 10 fi 10 11 echo "removing keylock Plugin"
Note: See TracChangeset
for help on using the changeset viewer.