diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-11-30 13:04:03 +0100 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-12-17 10:57:41 -0500 |
commit | cb9e340867bc12b440a9ac25363b412168ad8f13 (patch) | |
tree | 18468bfa90689b2f563a3be40b047f958dbbc5ff /meta-networking | |
parent | 8b61539ea0a32637871c735354469a6a04fa5aa3 (diff) | |
download | meta-openembedded-cb9e340867bc12b440a9ac25363b412168ad8f13.tar.gz |
samba: start on boot with systemd
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb index 76f97cf99..804a4d2dd 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | |||
@@ -44,6 +44,10 @@ SYSVINITTYPE = "sysv" | |||
44 | INITSCRIPT_NAME = "samba" | 44 | INITSCRIPT_NAME = "samba" |
45 | INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ." | 45 | INITSCRIPT_PARAMS = "start 20 3 5 . stop 20 0 1 6 ." |
46 | 46 | ||
47 | SYSTEMD_PACKAGES = "${PN}-base winbind" | ||
48 | SYSTEMD_SERVICE_${PN}-base = "nmb.service smb.service" | ||
49 | SYSTEMD_SERVICE_winbind = "winbind.service" | ||
50 | |||
47 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \ | 51 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${SYSVINITTYPE}', '', d)} \ |
48 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 52 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
49 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'zeroconf', '', d)} \ | 53 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'zeroconf', '', d)} \ |