diff --git a/scripts/init.sh b/scripts/init.sh index e05fd79ee..668dc549e 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -34,7 +34,9 @@ fi DEFAULT=/etc/default/telegraf if [ -r $DEFAULT ]; then + set -o allexport source $DEFAULT + set +o allexport fi if [ -z "$STDOUT" ]; then