aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-08-05 15:24:13 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-10 16:07:18 +0200
commit8f842670864f64281c2613cb228cbfe074349706 (patch)
tree41fdd57fcc7dd6ead256581878b79bc69865b700 /meta-networking
parentfd7338f82bcf1e092129959e1c9d0c8d85031381 (diff)
downloadmeta-openembedded-contrib-8f842670864f64281c2613cb228cbfe074349706.tar.gz
meta-openembedded-contrib-8f842670864f64281c2613cb228cbfe074349706.tar.bz2
meta-openembedded-contrib-8f842670864f64281c2613cb228cbfe074349706.zip
netcf: init script should be installed under /etc/init.d/
init script should be installed under /etc/init.d/, not /etc/rc.d/init.d Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/netcf/netcf_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb
index d6ca30fb65..979e45b607 100644
--- a/meta-networking/recipes-support/netcf/netcf_git.bb
+++ b/meta-networking/recipes-support/netcf/netcf_git.bb
@@ -25,3 +25,7 @@ do_configure_prepend() {
./bootstrap --gnulib-srcdir=${STAGING_DATADIR}/gnulib
}
+do_install_append() {
+ mv ${D}${sysconfdir}/rc.d/init.d/ ${D}${sysconfdir}
+ rm -rf ${D}${sysconfdir}/rc.d/
+}