diff --git a/ct/adguard.sh b/ct/adguard.sh index fa95241f4..dd07e48b8 100644 --- a/ct/adguard.sh +++ b/ct/adguard.sh @@ -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? " 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