summaryrefslogtreecommitdiff
path: root/packages/scap
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scap')
-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 ba8bc7e584..6ab1735748 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=`fbset 2>/dev/null | awk "/geometry/ { print \$2 "x" \$3 }"`
+RES=`/usr/sbin/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