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 d083922..1d4d110 100644 (file)
@@ -36,6 +36,7 @@ config qos
 
 config system
        option init led
 
 config system
        option init led
+       option exec '/etc/init.d/log reload'
        list affects luci_statistics
        list affects dhcp
 
        list affects luci_statistics
        list affects dhcp