ubox: add acl file for logd
Fixes ubus reconnect, since the process user id changes to 'logd' Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
f5a1e89534
commit
8e7ab041ce
|
@ -63,10 +63,11 @@ define Package/ubox/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/logd/install
|
define Package/logd/install
|
||||||
$(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d/
|
$(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d/ $(1)/usr/share/acl.d
|
||||||
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{logd,logread} $(1)/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{logd,logread} $(1)/sbin/
|
||||||
$(INSTALL_BIN) ./files/log.init $(1)/etc/init.d/log
|
$(INSTALL_BIN) ./files/log.init $(1)/etc/init.d/log
|
||||||
|
$(INSTALL_DATA) ./files/logd.json $(1)/usr/share/acl.d
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ubox))
|
$(eval $(call BuildPackage,ubox))
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"user": "logd",
|
||||||
|
"publish": [ "log" ]
|
||||||
|
}
|
Loading…
Reference in New Issue