mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-03 07:54:28 +01:00
icwmp: do not reload icwmp if previous option 43 is empty
This commit is contained in:
parent
9bc25990ab
commit
4372f2b307
1 changed files with 5 additions and 3 deletions
|
|
@ -75,9 +75,11 @@ handle_icwmp_restart() {
|
|||
"$previpaddr" = "$curipaddr" -a \
|
||||
"$prevgateway" = "$curgateway" -a \
|
||||
"$prevsubnets" = "$cursubnets" -a \
|
||||
"$prevdnsservers" = "$curdnsservers" -a \
|
||||
"$prevopt43url" = "$curopt43url" \
|
||||
] && exit 0
|
||||
"$prevdnsservers" = "$curdnsservers" \
|
||||
] && {
|
||||
[ "$prevopt43url" = "$curopt43url" ] && exit 0
|
||||
[ -z "$prevopt43url" ] && exit 0
|
||||
}
|
||||
|
||||
/etc/init.d/icwmpd reload &
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue