Skip to contentSkip to conversation

netcf: init script should be installed under /etc/init.d/

PATCH New [email protected] 1 participant 1 message Aug 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netcf: init script should be installed under /etc/init.d/

From: Roy Li <[email protected]>

init script should be installed under /etc/init.d/, not /etc/rc.d/init.d

---
 meta-networking/recipes-support/netcf/netcf_git.bb |    4 ++++
 1 file changed, 4 insertions(+)
meta-networking/recipes-support/netcf/netcf_git.bb +4 -0
index d6ca30f..979e45b 100644
@@ -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/
+}
Signature · 1 line
1.7.10.4