Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
  • Loading branch information
Thomas Dietrich authored and Thomas Dietrich committed Dec 17, 2017
1 parent b6f6736 commit 30faec3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build-pine64-image/first-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ until wget -S --spider http://localhost:8080 2>&1 | grep -q 'HTTP/1.1 200 OK'; d
done
echo "OK"

echo "$(timestamp) [openHABian] Please visit the openHAB dashboard now."
echo "$(timestamp) [openHABian] Visit the openHAB dashboard now: http://$hostname:8080"
echo "$(timestamp) [openHABian] To gain access to a console, simply reconnect."
echo "$(timestamp) [openHABian] First time setup successfully finished."

Expand Down
2 changes: 1 addition & 1 deletion build-rpi-raspbian/first-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ until wget -S --spider http://localhost:8080 2>&1 | grep -q 'HTTP/1.1 200 OK'; d
done
echo "OK"

echo "$(timestamp) [openHABian] Please visit the openHAB dashboard now."
echo "$(timestamp) [openHABian] Visit the openHAB dashboard now: http://$hostname:8080"
echo "$(timestamp) [openHABian] To gain access to a console, simply reconnect."
echo "$(timestamp) [openHABian] First time setup successfully finished."

Expand Down
8 changes: 3 additions & 5 deletions functions/nodejs-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ nodejs_setup() {
return 0
fi
FAILED=0

if is_armv6l; then
echo -n "$(timestamp) [openHABian] Installing Node.js for armv6l (prerequisite for other packages)... "
f=$(wget -qO- https://nodejs.org/download/release/latest-boron/ | grep "armv6l.tar.gz" | cut -d '"' -f 2)
Expand Down Expand Up @@ -39,9 +39,8 @@ frontail_setup() {
cond_redirect systemctl daemon-reload
cond_redirect systemctl enable frontail.service
cond_redirect systemctl restart frontail.service
if [ $? -ne 0 ]; then echo "FAILED (service)"; exit 1; fi
if [ $? -eq 0 ]; then echo "OK"; else echo "FAILED (service)"; exit 1; fi
dashboard_add_tile frontail
if [ $? -eq 0 ]; then echo "OK"; else echo "FAILED (dashboard tile)"; exit 1; fi
}

nodered_setup() {
Expand All @@ -59,9 +58,8 @@ nodered_setup() {
cond_redirect systemctl daemon-reload
cond_redirect systemctl enable nodered.service
cond_redirect systemctl restart nodered.service
if [ $? -ne 0 ]; then echo "FAILED (service)"; exit 1; fi
if [ $? -eq 0 ]; then echo "OK"; else echo "FAILED (service)"; exit 1; fi
dashboard_add_tile nodered
if [ $? -eq 0 ]; then echo "OK"; else echo "FAILED (dashboard tile)"; exit 1; fi
}

yo_generator_setup() {
Expand Down
3 changes: 1 addition & 2 deletions functions/openhab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ Check the \"openHAB Release Notes\" and the official announcements to learn abou
cond_redirect adduser openhab tty
cond_redirect adduser openhab gpio
cond_redirect adduser openhab audio
cond_redirect dashboard_add_tile openhabiandocs
if [ $? -ne 0 ]; then echo "FAILED (dashboard tile)"; fi
cond_redirect systemctl daemon-reload
cond_redirect systemctl enable openhab2.service
if [ $? -eq 0 ]; then echo "OK"; else echo "FAILED"; exit 1; fi
Expand All @@ -60,6 +58,7 @@ Check the \"openHAB Release Notes\" and the official announcements to learn abou
if [ -n "$INTERACTIVE" ]; then
whiptail --title "Operation Successful!" --msgbox "$successtext" 15 80
fi
dashboard_add_tile openhabiandocs
}

openhab_shell_interfaces() {
Expand Down
4 changes: 1 addition & 3 deletions functions/packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,11 @@ find_setup() {
cond_redirect systemctl enable findserver.service
if [ $? -ne 0 ]; then echo "FAILED (service)"; return 1; fi

dashboard_add_tile find
if [ $? -ne 0 ]; then echo "FAILED (dashboard tile)"; return 1; fi

if [ -n "$INTERACTIVE" ]; then
whiptail --title "Operation Successful!" --msgbox "$successtext" 15 80
fi
echo "OK"
dashboard_add_tile find
}

knxd_setup() {
Expand Down

0 comments on commit 30faec3

Please sign in to comment.