mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: Fix raise condition in dhcp Controller setup
This commit is contained in:
parent
2bbeb83eb2
commit
db72ee376e
1 changed files with 2 additions and 7 deletions
|
|
@ -462,13 +462,8 @@ if [ "${wan_intf}" == "${INTERFACE}" ]; then
|
|||
fi
|
||||
fi
|
||||
else
|
||||
if [ -n "${dhcp_mtp}" ]; then
|
||||
uci -q del obuspa.$dhcp_mtp
|
||||
fi
|
||||
|
||||
if [ -n "${dhcp_mqtt}" ]; then
|
||||
uci -q del obuspa.$dhcp_mqtt
|
||||
fi
|
||||
uci -q del obuspa.dhcpmtp
|
||||
uci -q del obuspa.dhcpmqtt
|
||||
|
||||
sec=$(uci -q add obuspa controller)
|
||||
uci -q rename obuspa."${sec}"='dhcpcontroller'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue