Closed ogarcia closed 2 weeks ago
@mwarning as soon as possible send this change to the merge request https://github.com/openwrt/packages/pull/24773
The truth is that I did not notice the failure because all the tests I did was with the router already started doing restarts of the daemon, but if you start from scratch the creation of the directory happens after trying to put the secret file inside it and, of course, it does not work. Simply changing the order of how things happen will solve the problem.
The startup script attempts to create the
identity.secret
file before the${CONFIG_PATH}
directory containing theidentity.secret
file. This change fixes that problem and makes sure to create that directory first.