mirror of
https://github.com/openwrt/routing.git
synced 2026-04-15 19:02:12 +00:00
babeld: create the directory for the config file before writing to it
This commit is contained in:
committed by
Baptiste Jonglez
parent
e291dcb7c3
commit
959f053b48
@@ -199,6 +199,7 @@ babel_config_cb() {
|
||||
|
||||
start() {
|
||||
mkdir -p /var/lib
|
||||
mkdir -p /var/etc
|
||||
# Start by emptying the generated config file
|
||||
>"$CONFIGFILE"
|
||||
# First load the whole config file, without callbacks, so that we are
|
||||
|
||||
Reference in New Issue
Block a user