Skip to content

Commit

Permalink
fixed extra lines in openhabian.conf.dist
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <[email protected]>
  • Loading branch information
mstormi committed May 22, 2020
1 parent fd940d4 commit 257beff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion build-image/first-boot.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ sed -i 's/\r$//' /etc/openhabian.conf
source "$CONFIGFILE"
echo "OK"

# shellcheck disable=SC2154
if [[ "$debugmode" == "default" ]]; then
unset SILENT
unset DEBUGMAX
Expand Down Expand Up @@ -187,7 +188,7 @@ sleep 12
if hash python3 2>/dev/null; then bash /boot/webif.bash cleanup; fi

if [ -z "$SILENT" ]; then
echo -e "\n\e[36mMemory usage:"
echo -e "\\n\\e[36mMemory usage:"
free -m && ps -auxq "$(cat /var/lib/openhab2/tmp/karaf.pid)" |awk '/openhab/ {print "size/res="$5"/"$6" KB"}'
fi

Expand Down
2 changes: 1 addition & 1 deletion functions/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ tryUntil() {
local i=$count
interval=${3:-1}
until [ "$i" -le 0 ]; do
cond_echo "Executing ${cmd}"
cond_echo -n "(executing ${cmd})"
eval "${cmd}"
ret=$?
if [ $ret -eq 0 ]; then break; fi
Expand Down
3 changes: 0 additions & 3 deletions openhabian.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,3 @@ debugmode=on
java_opt=Zulu64

# vim: filetype=sh
username=openhabian
userpw=openhabian
# Fill in your SSID and password below, leave empty to use ethernet

0 comments on commit 257beff

Please sign in to comment.