corda/sgx-jvm/with_isgx.sh
2017-08-01 16:49:44 +02:00

10 lines
117 B
Bash

#!/bin/bash
set -euo pipefail
function finish {
sudo modprobe -r isgx
}
trap finish EXIT
sudo modprobe isgx
$@