1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

remove storage Check in adguard.sh

This commit is contained in:
CanbiZ 2024-11-14 00:05:55 +01:00 committed by GitHub
parent 3ef3718056
commit 72bee44543
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,15 +52,11 @@ function default_settings() {
VERB="no"
echo_default
}
function update_script() {
header_info
if [[ ! -d /opt/AdGuardHome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
read -r -p "Warning: Storage is dangerously low, continue anyway? <y/N> " prompt
[[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
fi
echo "Adguard Home should be updated via the user interface."
msg_error "Adguard Home should be updated via the user interface."
exit
}
start