I am the greatest javascript developer in the world.

This commit is contained in:
2023-09-06 22:06:16 +03:00
parent d94f793d3e
commit a5a33cac4a

3
harden
View File

@@ -492,6 +492,9 @@ EOF
}
function dynamicDockerPortsCronjob {
# Part of the code responsible for the comparison
# of the arrays was taken from:
# https://stackoverflow.com/questions/2312762/compare-difference-of-two-arrays-in-bash
sudo mkdir -p /root/bin
cat << 'TOHERE' | sudo tee /root/bin/dynamic_docker_ports_cronjob.sh > /dev/null 2>&1
#!/usr/bin/env bash