update install scr
This commit is contained in:
@@ -8,7 +8,7 @@ echo $line
|
|||||||
git clone https://github.com/hjelev/rpi-mqtt-monitor.git
|
git clone https://github.com/hjelev/rpi-mqtt-monitor.git
|
||||||
cd rpi-mqtt-monitor
|
cd rpi-mqtt-monitor
|
||||||
|
|
||||||
echo "MQTT settings"
|
|
||||||
echo $line
|
echo $line
|
||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
python=$(which python)
|
python=$(which python)
|
||||||
@@ -38,6 +38,8 @@ echo "Paho-mqtt is not installed, installing it."
|
|||||||
pip install paho-mqtt
|
pip install paho-mqtt
|
||||||
fi
|
fi
|
||||||
echo $line
|
echo $line
|
||||||
|
echo "MQTT settings"
|
||||||
|
echo $line
|
||||||
echo "Copy config.py.example to config.py"
|
echo "Copy config.py.example to config.py"
|
||||||
cp src/config.py.example src/config.py
|
cp src/config.py.example src/config.py
|
||||||
printf "Enter mqtt_host: "
|
printf "Enter mqtt_host: "
|
||||||
|
|||||||
Reference in New Issue
Block a user