Changeset 23622 for ipk/source.sh4/keymaps_neutrino/CONTROL/postinst
- Timestamp:
- Sep 10, 2013, 3:06:29 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/keymaps_neutrino/CONTROL/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/keymaps_neutrino/CONTROL/postinst
r22883 r23622 1 1 #!/bin/sh 2 TMP=/tmp/.keymaps3 4 #. /mnt/config/titan.cfg5 6 #if [ ! -f /mnt/config/rcmap.old ]; then7 # mv /mnt/config/rcmap $rcmapfile8 #fi9 10 echo "successful installed"11 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then12 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`13 FREE=`expr $SPACE - 100`14 echo new freespace size $FREE kb15 else16 echo "syncing disk"17 sync18 fi19 20 21 22 2 23 3 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)