summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/files
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/meshwizard/files')
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
index 1e35c6464..d53fc3821 100755
--- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
+++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
@@ -12,6 +12,7 @@ handle_interface() {
uci delete olsrd.$1
fi
}
+config_load olsrd
config_foreach handle_interface Interface
uci_commitverbose "Cleanup olsrd config" olsrd
@@ -21,7 +22,6 @@ handle_olsrd() {
section_rename olsrd $1 olsrd
fi
}
-config_load olsrd
config_foreach handle_olsrd olsrd
# Rename interface defaults