docs(shell): add function docstring comments

This commit is contained in:
2026-02-07 15:07:22 +02:00
parent 4266567327
commit 3ff83754b1
31 changed files with 135 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ if [ "$#" -lt 2 ]; then
exit 1
fi
# Wait until host stops responding to ping
wait_for_host_down()
{
local host=$1
@@ -37,6 +38,7 @@ wait_for_host_down()
done
}
# Wait for host to go down then execute command
main()
{
local host=$1