- Timestamp:
- Sep 7, 2013, 11:33:10 AM (13 years ago)
- Location:
- ipk/source/radiologos_aafmode_0_1/CONTROL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/radiologos_aafmode_0_1/CONTROL/control
r23205 r23354 10 10 Description: Radiologo "AAF Mode" for Radiomode 11 11 Showname: AAF Mode 12 Usepath: /var -
ipk/source/radiologos_aafmode_0_1/CONTROL/preinst
r11794 r23354 18 18 fi 19 19 20 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then21 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`22 FREE=`expr $SPACE - 100`23 SIZE=6024 echo "checking freespace"25 echo packege size $SIZE kb26 echo freespace size $FREE kb27 if [ "$FREE" -lt "$SIZE" ]; then28 echo "sorry no freespace left on device"29 exit 130 else31 echo ok32 fi33 fi34 20 echo "installing radiologo ..." 35 21 buildgroup=`cat /etc/.buildgroup`
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)