Add some doc comments
This commit is contained in:
parent
bdde467433
commit
2cf1399572
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue