I tried using the configuration you supplied and I notice openwisp-config
aborts:

Thu Apr 20 15:39:03 2017 daemon.info openwisp: Configuration downloaded,
now applying it...
Thu Apr 20 15:39:04 2017 daemon.crit openwisp: Could not update
configuration, openwisp-update-config exit code was 1
Thu Apr 20 15:39:04 2017 daemon.err openwisp: Configuration could not be
applied, update operation aborted

if you put a file in /etc/config/ it must be an UCI compatible file
(following the OpenWRT/LEDE standard convention) otherwise openwisp-config
will have troubles interpreting it.

In general, when these kind of things happen, keep an eye on the logs.

Federico

On Thu, Apr 20, 2017 at 2:41 PM henriqsc <[email protected]> wrote:

> Hi Federico, yep, thanks. Since openwisp_config run as root and "etc" is
> owned by root as well as "tmp" what is the problem with writing to "etc"
> (in fact it's already creating the empty file)? The only difference I see
> between etc and tmp is that the later has writing permissions to non-root
> users.
>
> Regards!
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to