summaryrefslogtreecommitdiffstats
path: root/src/testApp.sh
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 00:52:24 +0100
committerJonathan Bauer2011-03-08 00:52:24 +0100
commit70a3f18ca44b5ed3a03adbd4c90c497d3a64829e (patch)
treebb4d77196b1fc1a187dc8d91c91eb521c13057a1 /src/testApp.sh
parentdownload directory option preparations (sysInfo: cant test compiling right no... (diff)
downloadfbgui-70a3f18ca44b5ed3a03adbd4c90c497d3a64829e.tar.gz
fbgui-70a3f18ca44b5ed3a03adbd4c90c497d3a64829e.tar.xz
fbgui-70a3f18ca44b5ed3a03adbd4c90c497d3a64829e.zip
misc
Diffstat (limited to 'src/testApp.sh')
-rwxr-xr-xsrc/testApp.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testApp.sh b/src/testApp.sh
index cd8a4e4..578472d 100755
--- a/src/testApp.sh
+++ b/src/testApp.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# If an argument is passed (=URL), set the URL.
-# If no arg are passed, set the default test URL.
+# If no arg is passed, set the default test URL.
if [ $# = 0 ]; then
url="http://132.230.4.3/test.html"
else
@@ -15,7 +15,6 @@ display_id=$(grep -n $(whoami) /etc/passwd| head -n 1|awk -F : '{print $1}')
# Start QT's virtual framebuffer with proper displayID
/usr/local/Trolltech/Qt-4.7.1/bin/qvfb -width 800 -height 600 -qwsdisplay :$display_id &
-# Wait for it to load (needed?) Probably not ;o
sleep 0.1
# Start fbgui.
$working_path/fbgui -display QVFb:$display_id -d -u $url