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

This commit is contained in:
Andrey Petelin
2025-10-19 17:23:49 +03:00
parent 377317cc0d
commit 253e583f9a
+1 -1
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:"