update
This commit is contained in:
@@ -38,12 +38,9 @@ install_requirements () {
|
||||
|
||||
update_config(){
|
||||
printf "\nCopy config.py.example to config.py\n"
|
||||
|
||||
cp src/config.py.example src/config.py
|
||||
|
||||
printm "MQTT settings"
|
||||
|
||||
|
||||
printf "Enter mqtt_host: "
|
||||
read HOST
|
||||
sed -i "s/ip address or host/${HOST}/" src/config.py
|
||||
|
||||
@@ -8,8 +8,10 @@ printm () {
|
||||
printf -- '-%.0s' $(seq $length); echo ""
|
||||
}
|
||||
|
||||
main(){
|
||||
printm "Cloning rpi-mqtt-monitor git repository"
|
||||
|
||||
git clone https://github.com/hjelev/rpi-mqtt-monitor.git
|
||||
cd rpi-mqtt-monitor
|
||||
bash install.sh
|
||||
}
|
||||
main
|
||||
|
||||
Reference in New Issue
Block a user