Skip to contentSkip to conversation

frr: install correct initscript

PATCH New Yi Zhao 1 participant 1 message Apr 13, 2022

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 frr: install correct initscript

Install frrinit.sh as initscript rather than frr.

---
 meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/frr/frr_8.2.2.bb +1 -1
index b1e2e55b5..91e306f08 100644
@@ -95,7 +95,7 @@ do_install:append:class-target () {
 
     if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
         install -d ${D}${sysconfdir}/init.d
-        install -m 0755 ${B}/tools/frr ${D}${sysconfdir}/init.d
+        install -m 0755 ${B}/tools/frrinit.sh ${D}${sysconfdir}/init.d/frr
 
         install -d ${D}${sysconfdir}/default/volatiles
         echo "d frr frr 0755 ${localstatedir}/run/frr none" \
Signature · 1 line
2.25.1