When deleting multiple UCI firewall rules by index, the indices shift after each deletion. The previous method using section names didn't work reliably with fw4's anonymous rules. New approach uses a while loop that: - Iterates through rules by index - Deletes matching rule and restarts from beginning - Continues until no matching rules found This ensures all secubox_wan_* rules are properly removed before reapplying new ones. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| secubox | ||
| secubox-appstore | ||
| secubox-catalog-sync | ||
| secubox-component | ||
| secubox-core | ||
| secubox-diagnostics | ||
| secubox-profile | ||
| secubox-recovery | ||
| secubox-state | ||
| secubox-sync-registry | ||
| secubox-verify | ||
| secubox-wan-access | ||