Changeset 23447 for ipk/source.sh4/titantools_IP-Kammera/CONTROL/prerm
- Timestamp:
- Sep 8, 2013, 5:57:11 PM (13 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/titantools_IP-Kammera/CONTROL/prerm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titantools_IP-Kammera/CONTROL/prerm
r16100 r23447 1 1 #!/bin/sh 2 2 TMP=/tmp/.infos 3 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then 4 SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1` 5 FREE=`expr $SPACE - 100` 6 echo new freespace size $FREE kb 7 else 8 echo "syncing disk" 9 sync 10 fi 11 echo "removing IP-Kammera Plugin" 3 INSTDIR="$1" 4 PLUGINDIR=$INSTDIR/usr/local/share/titan/plugins/instar 5 12 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)