mikrotik-exporter/scripts/start.sh

9 lines
195 B
Bash
Raw Normal View History

2017-09-05 04:52:14 +02:00
#!/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