summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/files
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2012-06-06 10:21:12 +0000
committerManuel Munz <freifunk@somakoma.de>2012-06-06 10:21:12 +0000
commitba02ccc1a54a6fd949dd0009a43917ecd3dbaef3 (patch)
treeb5d3c50197acff61c6508fdbc0022704bb99a1e2 /contrib/package/meshwizard/files
parent1b15e8f42c52652441fc9d8abf75139ff97ed33f (diff)
contrib/meshwizard: Load olsrd config earlier
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