20250113.1736787084

This commit is contained in:
fz0x1 2025-01-13 17:51:24 +01:00
parent cfce6c21e1
commit ba47a5917e
3 changed files with 55 additions and 30 deletions

View file

@ -69,3 +69,11 @@ function generate_random_string() {
function checksumm() {
echo $(sha256sum "${1:?}" | awk '{print $1}')
}
function check_connection() {
if ping -c 1 google.com &>/dev/null; then
echo 1
else
echo 0
fi
}