Skip to content

Commit

Permalink
fix: setting default mwan last_resort
Browse files Browse the repository at this point in the history
Signed-off-by: Tommaso Bailetti <tommaso.bailetti@nethesis.it>
  • Loading branch information
Tbaile committed Oct 16, 2024
1 parent 42cabe1 commit ca7768b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions files/etc/uci-defaults/99-nethsec-mwan
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# If `mwan3.ns_default` has no last_resort option, add it
if [ -z "$(uci -q get mwan3.ns_default.last_resort)" ]; then
uci set mwan3.ns_default.last_resort=default
uci commit mwan3
fi

0 comments on commit ca7768b

Please sign in to comment.