Skip to content
Snippets Groups Projects
Commit 0f270961 authored by Koen Vandeputte's avatar Koen Vandeputte Committed by Felix Fietkau
Browse files

base-files: also generate configs when current is empty (FS#193)


Before a configuration is generated, an empty file is created to store
it in. (required by UCI)

If something happens during config generation
(power cut, interruption, ..) an empty file exists and it is never
regenerated again, causing some daemons to fail starting
(NTPD, logread, ..)

Fix this by also generating new configs if a critical file
is empty.

Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
parent 7659f9ad
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment