mikrotik-exporter/scripts/start.sh
2017-09-04 22:52:14 -04:00

8 lines
189 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 $CONFIG_FILE
fi