projects
/
10.03
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[backfire] targets: rename "files-2.6.x" directories to "files"
[10.03/openwrt.git]
/
target
/
linux
/
xburst
/
files
/
arch
/
mips
/
boot
/
tools
/
filesize
diff --git a/target/linux/xburst/files/arch/mips/boot/tools/filesize
b/target/linux/xburst/files/arch/mips/boot/tools/filesize
new file mode 100644
(file)
index 0000000..
2142ad5
--- /dev/null
+++ b/
target/linux/xburst/files/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