mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-31 14:50:58 +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
|
# DHCP configuration check
|
||||||
local dont_touch_dhcp
|
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
|
if [ "$dont_touch_dhcp" = "1" ]; then
|
||||||
print_global "⚠️ dont_touch_dhcp is enabled. 📄 DHCP config:"
|
print_global "⚠️ dont_touch_dhcp is enabled. 📄 DHCP config:"
|
||||||
|
|||||||
Reference in New Issue
Block a user