-#!/bin/bash
+#!/usr/bin/env bash
# Convenience script for loading firmware onto a teensy type device
# By default, initiates teensy-load-cli
# Load Screen Session if specified
if (( "$EXIT_STATUS" == "0" )) && [[ "$AUTO_SCREEN_SESSION" != "" ]]; then
if type screen &>/dev/null; then
- sleep 0.1
+ sleep 2
screen $AUTO_SCREEN_SESSION
else
echo "screen is not installed"