From: Casper Meijn Date: Sat, 6 Sep 2014 09:31:59 +0000 (+0200) Subject: babeld: create the directory for the config file before writing to it X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=commitdiff_plain;h=959f053b484cdf8843dd5686d2025be9c8c877cf babeld: create the directory for the config file before writing to it --- diff --git a/babeld/files/babeld.init b/babeld/files/babeld.init index 180fc7e..164d967 100755 --- a/babeld/files/babeld.init +++ b/babeld/files/babeld.init @@ -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