mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-11-14 10:05:16 +01:00
0250e6c58e
Found a typo in the `start.sh` file that prevented setting the correct execution permissions.
13 lines
275 B
Bash
Executable File
13 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ ! -x /app/mikrotik-exporter ]; then
|
|
chmod 755 /app/mikrotik-exporter
|
|
fi
|
|
|
|
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
|