#!/bin/sh -e # Explorer will output the key if he exists. secretkey="/opt/netbox/cdist/secretkey" if [ -f "$secretkey" ]; then cat "$secretkey" fi