mirror of
https://github.com/openwrt/openwrt.git
synced 2026-12-05 19:37:05 +04:00
odhcpd: drop the removed enable_tz option
odhcpd no longer supports enable_tz (openwrt/odhcpd#460, the time zone options are sent if a time zone is set), but existing configs keep it. Delete it on upgrade. Signed-off-by: David Härdeman <david@hardeman.nu> Link: https://github.com/openwrt/openwrt/pull/27183 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
1 parent
3534c89d0b
commit
222531f499
1 file changed
+1
@@ -20,6 +20,7 @@ if [ -n "$(uci -q get dhcp.odhcpd)" ]; then
|
||||
|
||||
# Options odhcpd no longer supports
|
||||
uci_drop_option dhcp dhcpv4_forcereconf && commit=1
|
||||
uci_drop_option odhcpd enable_tz && commit=1
|
||||
|
||||
[ "$commit" -eq 1 ] && uci commit dhcp
|
||||
|
||||
|
||||
Reference in new issue
Block a user