luci-base: always add ucitrack independently of uci config
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 29 Apr 2024 06:57:19 +0000 (08:57 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Mon, 29 Apr 2024 06:57:30 +0000 (08:57 +0200)
commit8f2dfa7058e184a064a2f3d49291ad9e446b3228
tree0dcf44a2789bf9ac04a1150f1c8d2b5ef4e381b7
parent07342ef9ad6188597abef0428cd637cc787e5e29
luci-base: always add ucitrack independently of uci config

It is possible that the uci configuration file will be added to the system
later. Therefore, ucitrack json definitions are always added to ucitrack
triggers and it is not checked whether the uci configuration file exists.

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-base/root/etc/init.d/ucitrack