#!/bin/sh

set -e

version="$1"

if flash-kernel --supported >/dev/null 2>&1; then
        flash-kernel ${version}
        return 0
fi
