diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2016-10-05 11:26:35 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-10-05 19:59:11 +0200 |
commit | 0f27096100a33421bff0d4539d428fe393eebe22 (patch) | |
tree | 76f6304d3a0df849d76a123dafc93c9254c102f0 /target/Makefile | |
parent | 7659f9ad9e5d6ffea93bd73989535346f0b14131 (diff) | |
download | upstream-0f27096100a33421bff0d4539d428fe393eebe22.tar.gz upstream-0f27096100a33421bff0d4539d428fe393eebe22.tar.bz2 upstream-0f27096100a33421bff0d4539d428fe393eebe22.zip |
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: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/Makefile')
0 files changed, 0 insertions, 0 deletions