summaryrefslogtreecommitdiff
path: root/packages/scap/files/scap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scap/files/scap.sh')
-rw-r--r--packages/scap/files/scap.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/scap/files/scap.sh b/packages/scap/files/scap.sh
index 6fccdd400e..f8e0485333 100644
--- a/packages/scap/files/scap.sh
+++ b/packages/scap/files/scap.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+sleep 5
+if [ -x /usr/bin/bl ]; then
+ bl toggle
+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 }"`
@@ -10,4 +14,7 @@ RES=`fbset 2>/dev/null | awk "/geometry/ { print \$2 "x" \$3 }"`
echo "Host: www.handhelds.org"
echo ""
cat /dev/fb0) | nc www.handhelds.org 80
-
+if [ -x /usr/bin/bl ]; then
+ bl toggle
+fi
+