Changeset 23413 for ipk/source.sh4/titanwlan_rt3070sta/CONTROL/postinst
- Timestamp:
- Sep 7, 2013, 8:25:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titanwlan_rt3070sta/CONTROL/postinst
r17119 r23413 1 1 #!/bin/sh 2 TMP=/tmp/.wlan3 2 4 echo "successfully installed"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 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)