babeld: create the directory for the config file before writing to it
[feed/routing.git] / babeld / files / babeld.init
index 180fc7e04f8f1082d7930221a16dad7f8fb22c9d..164d9670fa02fdfa68383a98f4f6f4668cfc455c 100755 (executable)
@@ -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