Skip to content

Commit 72bee44

Browse files
authored
remove storage Check in adguard.sh
1 parent 3ef3718 commit 72bee44

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ct/adguard.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,11 @@ function default_settings() {
5252
VERB="no"
5353
echo_default
5454
}
55-
5655
function update_script() {
5756
header_info
5857
if [[ ! -d /opt/AdGuardHome ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
59-
if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
60-
read -r -p "Warning: Storage is dangerously low, continue anyway? <y/N> " prompt
61-
[[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
62-
fi
63-
echo "Adguard Home should be updated via the user interface."
58+
msg_error "Adguard Home should be updated via the user interface."
59+
exit
6460
}
6561

6662
start

0 commit comments

Comments
 (0)