From: Manuel Munz Date: Wed, 6 Jun 2012 10:21:12 +0000 (+0000) Subject: contrib/meshwizard: Load olsrd config earlier X-Git-Tag: 0.11.0~654 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba02ccc1a54a6fd949dd0009a43917ecd3dbaef3;p=oweals%2Fluci.git contrib/meshwizard: Load olsrd config earlier --- 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