mikrotik-exporter/scripts/start.sh
2018-12-07 11:43:18 -05:00

9 lines
195 B
Bash
Executable File

#!/bin/sh
if [ -z "$CONFIG_FILE" ]
then
/app/mikrotik-exporter -device $DEVICE -address $ADDRESS -user $USER -password $PASSWORD
else
/app/mikrotik-exporter -config-file $CONFIG_FILE
fi