diff --git a/bootstrap.sh b/bootstrap.sh index 4495b4d..77f6fde 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -16,6 +16,7 @@ cp -Rn "$BASE_DIR/etc/data/." "$BASE_DIR/data/" if [[ ! -f "$BASE_DIR/config.ini" ]]; then cp "$BASE_DIR/config.template" "$BASE_DIR/config.ini" + sleep 1 replace="s|type = serial|type = tcp|g" sed -i '' "$replace" "$BASE_DIR/config.ini" replace="s|# hostname = meshtastic.local|hostname = localhost|g"