contrib/meshwizard: Load olsrd config earlier

This commit is contained in:
Manuel Munz 2012-06-06 10:21:12 +00:00
parent 1b15e8f42c
commit ba02ccc1a5

View file

@ -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