dcf171bc79
This reverts commit af096c8bff1e534be9c69f50eed13e6b48427d0e.
10 lines
477 B
Bash
Executable File
10 lines
477 B
Bash
Executable File
#!/usr/bin/env bash
|
|
dd=$(nix-build --no-out-link -A dd-agent ../../../..)
|
|
echo '# Generated using update-dd-agent-default, please re-run after updating dd-agent. DO NOT EDIT MANUALLY.' > dd-agent-defaults.nix
|
|
echo '[' >> dd-agent-defaults.nix
|
|
echo ' "auto_conf"' >> dd-agent-defaults.nix
|
|
for f in $(find $dd/agent/conf.d-system -maxdepth 1 -type f | grep -v '\.example' | sort); do
|
|
echo " \"$(basename $f)\"" >> dd-agent-defaults.nix
|
|
done
|
|
echo ']' >> dd-agent-defaults.nix
|