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