fix: read dont_touch_dhcp from "settings" section instead of "main"

This commit is contained in:
Andrey Petelin
2025-10-19 19:23:49 +05:00
parent c0e3e256e3
commit e7f3d15bce

View File

@@ -2298,7 +2298,7 @@ global_check() {
# DHCP configuration check
local dont_touch_dhcp
config_get dont_touch_dhcp "main" "dont_touch_dhcp"
config_get dont_touch_dhcp "settings" "dont_touch_dhcp"
if [ "$dont_touch_dhcp" = "1" ]; then
print_global "⚠️ dont_touch_dhcp is enabled. 📄 DHCP config:"