Add some doc comments

This commit is contained in:
Jakub Jirutka 2017-10-11 21:10:49 +02:00
parent bdde467433
commit 2cf1399572

View file

@ -104,6 +104,7 @@ help() {
exit ${1:-0} exit ${1:-0}
} }
# Cleans the host system. This function is executed before exiting the script.
cleanup() { cleanup() {
set +eu set +eu
trap '' EXIT HUP INT TERM # unset trap to avoid loop trap '' EXIT HUP INT TERM # unset trap to avoid loop
@ -250,6 +251,7 @@ umount_recursively() {
| xargs umount -rn | xargs umount -rn
} }
# Downloads the specified file using wget and checks checksum.
wgets() ( wgets() (
local url="$1" local url="$1"
local sha256="$2" local sha256="$2"