babeld: create the directory for the config file before writing to it
This commit is contained in:
parent
e291dcb7c3
commit
959f053b48
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ babel_config_cb() {
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
mkdir -p /var/lib
|
mkdir -p /var/lib
|
||||||
|
mkdir -p /var/etc
|
||||||
# Start by emptying the generated config file
|
# Start by emptying the generated config file
|
||||||
>"$CONFIGFILE"
|
>"$CONFIGFILE"
|
||||||
# First load the whole config file, without callbacks, so that we are
|
# First load the whole config file, without callbacks, so that we are
|
||||||
|
|
Loading…
Reference in a new issue