summaryrefslogtreecommitdiff
path: root/package/samba4/samba4.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/samba4/samba4.mk')
-rw-r--r--package/samba4/samba4.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 9ccc6a710..c09706882 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -165,6 +165,9 @@ define SAMBA4_INSTALL_INIT_SYSTEMD
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/smb.service
ln -sf ../../../../usr/lib/systemd/system/winbind.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/winbind.service
+ $(INSTALL) -D -m 644 $(@D)/packaging/systemd/samba.conf.tmp \
+ $(TARGET_DIR)/etc/tmpfiles.d/samba.conf
+ printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/etc/tmpfiles.d/samba.conf
endef
$(eval $(generic-package))