#!/bin/bash -e cd "$(dirname "$0")" DEVICE=${DEVICE:-comma-ethernet} scp output/boot.img output/*.ko $DEVICE:/data/tmp/ ssh $DEVICE <