summaryrefslogtreecommitdiffstats
path: root/play.sh
diff options
context:
space:
mode:
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/play.sh b/play.sh
new file mode 100755
index 0000000..5ec99ac
--- /dev/null
+++ b/play.sh
@@ -0,0 +1,19 @@
1#!/bin/sh
2# WebIOPi PiStore launch script
3
4# Force install
5#VERSION=`python -c "import webiopi; print(webiopi.VERSION)"`
6#if [ "$VERSION" != "0.5.3" ]; then
7# echo "Update required..."
8# chmod 777 setup.sh
9# sudo ./setup.sh
10#fi
11
12# Start WebIOPi service
13sudo /etc/init.d/webiopi start
14
15# Launch the browser
16midori -c `pwd`/midori -a http://localhost:8000/
17
18# Stop WebIOPi service
19sudo /etc/init.d/webiopi stop