20-collectd: fixup
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
This commit is contained in:
parent
08ca3831d5
commit
7d54bdf5de
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ subtask_begin "Installing configuration file";
|
|||
touch "${collectd_conf_target}";
|
||||
chmod 0600 "${collectd_conf_target}";
|
||||
#shellcheck disable=SC2154
|
||||
awk -v "user=${collectd_username}" -v "pass=${collectd_password}" '{ gsub("|||USERNAME|||", user); gsub("|||PASSWORD|||", pass); print }' >"${collectd_conf_target}" <"configs/collectd.conf";
|
||||
awk -v "user=${collectd_username}" -v "pass=${collectd_password}" '{ gsub("\\|\\|\\|USERNAME\\|\\|\\|", user); gsub("\\|\\|\\|PASSWORD\\|\\|\\|", pass); print }' >"${collectd_conf_target}" <"configs/collectd.conf";
|
||||
subtask-end "$?";
|
||||
|
||||
subtask_begin "Starting collectd & enabling on boot";
|
||||
|
|
Loading…
Reference in a new issue