mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-12 01:28:39 +00:00
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
|
||||
|
||||
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) ./files/log.init $(1)/etc/init.d/log
|
||||
$(INSTALL_DATA) ./files/logd.json $(1)/usr/share/acl.d
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ubox))
|
||||
|
4
package/system/ubox/files/logd.json
Normal file
4
package/system/ubox/files/logd.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"user": "logd",
|
||||
"publish": [ "log" ]
|
||||
}
|
Loading…
Reference in New Issue
Block a user