blob: 5ec99acc790acdf41be2364d457cbfc3a4f859fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
# WebIOPi PiStore launch script
# Force install
#VERSION=`python -c "import webiopi; print(webiopi.VERSION)"`
#if [ "$VERSION" != "0.5.3" ]; then
# echo "Update required..."
# chmod 777 setup.sh
# sudo ./setup.sh
#fi
# Start WebIOPi service
sudo /etc/init.d/webiopi start
# Launch the browser
midori -c `pwd`/midori -a http://localhost:8000/
# Stop WebIOPi service
sudo /etc/init.d/webiopi stop
|