Changeset 12781 for ipk/source.sh4/titanskins_default/CONTROL/postrm
- Timestamp:
- Jan 4, 2012, 7:46:39 AM (14 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/titanskins_default/CONTROL/postrm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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
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)