summaryrefslogtreecommitdiff
path: root/packages/scap/files
diff options
context:
space:
mode:
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