summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@windriver.com>2015-08-13 08:38:32 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-09-11 10:27:37 -0400
commitd3eaede791c121147f1b99db01facd2080019993 (patch)
tree82d5aed2efe9bd78107bd358c201c57c80e776a5 /meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
parentd36e2d1066f50036080f978583a58fe79ecfac54 (diff)
downloadmeta-openembedded-d3eaede791c121147f1b99db01facd2080019993.tar.gz
ypbind-mt: add status command for initscript
Add the "status" command in initscript to check the status of ypbind. remove ypbind-yocto.init as ypbind.init, which is the initscript, make its name similar to other recipes Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/nis/ypbind-mt_2.2.bb')
-rw-r--r--meta-networking/recipes-support/nis/ypbind-mt_2.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
index 6a9262acab..cee5880f7a 100644
--- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
+++ b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
@@ -21,7 +21,7 @@ PROVIDES += "ypbind"
21PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools" 21PNBLACKLIST[ypbind-mt] ?= "BROKEN: Depends on broken yp-tools"
22 22
23SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \ 23SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
24 file://ypbind-yocto.init \ 24 file://ypbind.init \
25 file://ypbind.service \ 25 file://ypbind.service \
26" 26"
27SRC_URI[md5sum] = "54e2040d8266ae7d302d081ca310c8a8" 27SRC_URI[md5sum] = "54e2040d8266ae7d302d081ca310c8a8"
@@ -41,7 +41,7 @@ do_install_append () {
41 install -d ${D}${sysconfdir}/init.d 41 install -d ${D}${sysconfdir}/init.d
42 install -d ${D}${sysconfdir}/rcS.d 42 install -d ${D}${sysconfdir}/rcS.d
43 43
44 install -m 0755 ${WORKDIR}/ypbind-yocto.init ${D}${sysconfdir}/init.d/ypbind 44 install -m 0755 ${WORKDIR}/ypbind.init ${D}${sysconfdir}/init.d/ypbind
45 45
46 install -d ${D}${systemd_unitdir}/system 46 install -d ${D}${systemd_unitdir}/system
47 install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system 47 install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system