diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2005-12-06 11:59:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-12-06 11:59:32 +0000 |
commit | 7acfd26c06a4d910fda1f246fa21cb0610c7cf4c (patch) | |
tree | 686815580e663d88139f60024e046d76a55851b4 /packages/scap/files/scap.sh | |
parent | 3eb8eb685e9192a2d844f071cd121b47b839ddea (diff) |
module-init-tools: prefer 3.2.1 over 3.2-pre4
- adds DEFAULT_PREFERENCE="-1" to the 3.2-pre4, see bug #498
Diffstat (limited to 'packages/scap/files/scap.sh')
-rw-r--r-- | packages/scap/files/scap.sh | 2 |
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 |