mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 03:26:51 +03:00
fix: read dont_touch_dhcp from "settings" section instead of "main"
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user