diff options
Diffstat (limited to 'target/linux/xburst/files-2.6.32/arch/mips/boot/tools/filesize')
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/boot/tools/filesize | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/boot/tools/filesize b/target/linux/xburst/files-2.6.32/arch/mips/boot/tools/filesize new file mode 100644 index 0000000000..2142ad5af9 --- /dev/null +++ b/target/linux/xburst/files-2.6.32/arch/mips/boot/tools/filesize @@ -0,0 +1,7 @@ +#!/bin/sh +HOSTNAME=`uname` +if [ "$HOSTNAME" = "Linux" ]; then +echo `ls -l $1 | awk '{print $5}'` +else +echo `ls -l $1 | awk '{print $6}'` +fi |