#!/bin/sh
# output version if exist
version_path="/opt/netbox/netbox/cdist/version"
if [ -f "$version_path" ]; then cat "$version_path"; fi