minidlna: restore service triggers 12572/head
authorJo-Philipp Wich <jo@mein.io>
Mon, 22 Jun 2020 08:11:23 +0000 (10:11 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 22 Jun 2020 08:16:06 +0000 (10:16 +0200)
commite0a6b7906a437cd3a9d089ea3c2f9bb538783040
tree5b90518c3878eb67edde95d138271ac72652c87f
parent3f199b44c584aee66b457cb748c5056ba1b9703a
minidlna: restore service triggers

Restore service triggers which got wrongly removed in commit
733aae9584ef92c327b9008142602a7e69cfec3b ("fix issues").

Without triggers, changing settings from LuCI or calling reload_config
from the cli won't have any effect.

Also adjust the uci commit call to only commit the minidlna configuration
when setting a UUID, to avoid committing unrelated user changes in other
config files.

Ref: https://github.com/openwrt/luci/issues/4194
Fixes: 733aae958 ("minidlna: fix issues")
Fixes: 37367bdc8 ("minidlna: create UUID in config if it is empty")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
multimedia/minidlna/Makefile
multimedia/minidlna/files/minidlna.init