summaryrefslogtreecommitdiff
path: root/packages/scap/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-12-06 14:16:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-06 14:16:33 +0000
commit4cff548ae08c8724bf27ea62c134c8df99cbde14 (patch)
treea7f5ae83797b16efe1ce4892ea992ed7f68038a6 /packages/scap/files
parent7acfd26c06a4d910fda1f246fa21cb0610c7cf4c (diff)
disapproval of revision '1836da10f903d9ee68a7255b7a5d899128f4f43c'
Diffstat (limited to 'packages/scap/files')
-rw-r--r--packages/scap/files/scap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/scap/files/scap.sh b/packages/scap/files/scap.sh
index 6ab1735748..ba8bc7e584 100644
--- a/packages/scap/files/scap.sh
+++ b/packages/scap/files/scap.sh
@@ -6,7 +6,7 @@ if [ -x /usr/bin/bl ]; then
fi
MODEL=`cat /proc/cpuinfo | grep ^Hardware | sed "s/.* //"`
test -e /etc/scap.conf && USER=`cat /etc/scap.conf`
-RES=`/usr/sbin/fbset 2>/dev/null | awk /geometry/{print\ \\$2\"x\"\\$3}`
+RES=`fbset 2>/dev/null | awk "/geometry/ { print \$2 "x" \$3 }"`
(echo "POST /scap/capture.cgi?$MODEL+$USER+$RES HTTP/1.1"
echo -n Content-length:
cat /dev/fb0 | wc -c