Changeset 23365 for ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm
- Timestamp:
- Sep 7, 2013, 1:37:07 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm
r12422 r23365 1 1 #!/bin/sh 2 TMP=/tmp/.fonts 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` 2 INSTDIR="$1" 3 4 echo "rename original.jpg -> bootlogo.jpg" 5 mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg 6 7 echo "successfully removed" 8 if [ "/var/swap" == "$INSTDIR" ]; then 9 echo "syncing disk" 10 sync 11 else 12 SPACE=`getfreespace "$INSTDIR"` 7 13 FREE=`expr $SPACE - 100` 8 echo freespace size $FREE kb14 echo new freespace size $FREE kb 9 15 fi 10 16 echo "removing font"
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)