#!/bin/bash
set -eu

if [ "$(whoami)" != "root" ]; then
	echo "Must be root to run this script." >&2
	exit 77
fi

java -jar /usr/vaisala/radarsw/licensing/lib/rsw-show-machine-code.jar | grep -o '*[A-Z0-9]\{15\}'

