]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - LoadFile/load.teensy
Start removing select Linux-isms
[kiibohd-controller.git] / LoadFile / load.teensy
index df16dfcc79883912750e35c2fb2bfe174313178c..b86dd11a186bb2770810924823f8f1c2a8f52036 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Convenience script for loading firmware onto a teensy type device
 # By default, initiates teensy-load-cli
 
@@ -69,7 +69,7 @@ EXIT_STATUS=$?
 # 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"