cdist-contrib/type/__netbox/explorer/secretkey

9 lines
153 B
Bash
Executable File

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