mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-23 16:56:37 +00:00
docs(shell): add function docstring comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user