From 7a231c648c7d165ebae787c45a4d9e795fa2ad4e Mon Sep 17 00:00:00 2001
From: Guillaume <sagitta1618@gmail.com>
Date: Tue, 8 Nov 2022 21:57:04 +0000
Subject: [PATCH] check run_http_interface.sh

---
 doc/source/V2_00.rst            | 2 +-
 run_http_interface.sh           | 2 +-
 run_http_interface_on_start.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/source/V2_00.rst b/doc/source/V2_00.rst
index 4260e817..01a226ad 100644
--- a/doc/source/V2_00.rst
+++ b/doc/source/V2_00.rst
@@ -86,7 +86,7 @@ Different interfaces can be used to communicated with the OhmPi.
      Usable interfaces to control an OhmPi.
      
 Available interfaces:
-- Web interface (=HTTP interface): run in bash: `./run_http_interface.sh`
+- Web interface (=HTTP interface): run in bash: `bash run_http_interface.sh`
 - Python API: import the OhmPi class from Python script: `from ohmpi import OhmPi`
 - MQTT broker (see interface below)
 
diff --git a/run_http_interface.sh b/run_http_interface.sh
index 8aef368b..956067d0 100755
--- a/run_http_interface.sh
+++ b/run_http_interface.sh
@@ -3,5 +3,5 @@ USER="pi"  # change if other username
 cd /home/$USER/OhmPi
 source /home/$USER/OhmPi/ohmpy/bin/activate
 python ohmpi.py &  # run ohmpi.py to capture the commands
-python http_inteface.py  # run http_interface to serve the web GUI
+python http_interface.py  # run http_interface to serve the web GUI
 
diff --git a/run_http_interface_on_start.txt b/run_http_interface_on_start.txt
index 3b2586e0..14c17db8 100755
--- a/run_http_interface_on_start.txt
+++ b/run_http_interface_on_start.txt
@@ -1,6 +1,6 @@
 # to automatically start the webserver on start, you need to place the
 # following line just before the line with 'exit 0' in the /etc/rc.local.
 
-(cd /home/pi/OhmPi; bash run.sh > startup.log) &
+(cd /home/pi/OhmPi; bash run_http_interface.sh > startup.log) &
 
 
-- 
GitLab