Changeset 23413 for ipk/source.sh4/titanwlan_rt3070sta/CONTROL/prerm
- Timestamp:
- 09/07/13 20:25:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/titanwlan_rt3070sta/CONTROL/prerm
r17119 r23413 1 1 #!/bin/sh 2 TMP=/tmp/.wlan 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 wireless rt3070sta.ko modul" 2 12 3 exit 0
Note: See TracChangeset
for help on using the changeset viewer.