Changeset 23622 for ipk/source.sh4/keymaps_neutrino/CONTROL/postrm
- Timestamp:
- Sep 10, 2013, 3:06:29 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/keymaps_neutrino/CONTROL/postrm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/keymaps_neutrino/CONTROL/postrm
r22883 r23622 1 1 #!/bin/sh 2 TMP=/tmp/.keymaps3 echo "Erfolgreich deinstalliert..."4 2 5 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 new freespace size $FREE kb9 else10 echo "syncing disk"11 sync12 fi13 14 #. /mnt/config/titan.cfg15 #rm $rcmapfile16 #mv $rcmapfile.old $rcmapfile17 3 rm /mnt/config/rcmap 18 4 mv /mnt/config/rcmap.old /mnt/config/rcmap 19 5 20 21 6 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)