babeld: create the directory for the config file before writing to it
authorCasper Meijn <caspermeijn@gmail.com>
Sat, 6 Sep 2014 09:31:59 +0000 (11:31 +0200)
committerBaptiste Jonglez <baptiste--git@jonglez.org>
Mon, 8 Sep 2014 12:51:08 +0000 (14:51 +0200)
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