luci-base: reload log on uci system change
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 22 Nov 2017 11:09:45 +0000 (12:09 +0100)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 7 May 2018 06:37:35 +0000 (14:37 +0800)
If log configuration get changed in uci system no new values are applied
until reboot. Add /etc/init.d/log reload to exec option will solve this
issue.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-base/root/etc/config/ucitrack

index d083922955a319bd9f6b66fd6e785a7f4c9f7aed..1d4d110f2a9c2563239ed450eeb634ae52a9c44f 100644 (file)
@@ -36,6 +36,7 @@ config qos
 
 config system
        option init led
+       option exec '/etc/init.d/log reload'
        list affects luci_statistics
        list affects dhcp