This commit is contained in:
CanbiZ
2025-05-09 15:19:32 +02:00
parent 7e8dd9deb6
commit 0028578712
3 changed files with 25 additions and 25 deletions

View File

@@ -13,19 +13,19 @@ fi
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/core.func)
load_functions
# Function to set STD mode based on verbosity
set_std_mode() {
if [ "$VERBOSE" = "yes" ]; then
STD=""
else
STD="silent"
fi
}
# # Function to set STD mode based on verbosity
# set_std_mode() {
# if [ "$VERBOSE" = "yes" ]; then
# STD=""
# else
# STD="silent"
# fi
# }
# Silent execution function
silent() {
"$@" >/dev/null 2>&1
}
# # Silent execution function
# silent() {
# "$@" >/dev/null 2>&1
# }
# This function enables IPv6 if it's not disabled and sets verbose mode
verb_ip6() {