diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-04-13 09:42:56 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-13 19:21:41 -0700 |
commit | ee3b2e19a6fdc63155699801056d884bd6d396dd (patch) | |
tree | 1e424295a6aec2b7969d53f50182ad4a5e43ae35 /meta-networking/recipes-protocols | |
parent | 748d2d0c7cfc44d99c657630bfa23aec00ce663b (diff) | |
download | meta-openembedded-ee3b2e19a6fdc63155699801056d884bd6d396dd.tar.gz |
frr: install correct initscript
Install frrinit.sh as initscript rather than frr.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/frr/frr_8.2.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/frr/frr_8.2.2.bb b/meta-networking/recipes-protocols/frr/frr_8.2.2.bb index b1e2e55b5..91e306f08 100644 --- a/meta-networking/recipes-protocols/frr/frr_8.2.2.bb +++ b/meta-networking/recipes-protocols/frr/frr_8.2.2.bb | |||
@@ -95,7 +95,7 @@ do_install:append:class-target () { | |||
95 | 95 | ||
96 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 96 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
97 | install -d ${D}${sysconfdir}/init.d | 97 | install -d ${D}${sysconfdir}/init.d |
98 | install -m 0755 ${B}/tools/frr ${D}${sysconfdir}/init.d | 98 | install -m 0755 ${B}/tools/frrinit.sh ${D}${sysconfdir}/init.d/frr |
99 | 99 | ||
100 | install -d ${D}${sysconfdir}/default/volatiles | 100 | install -d ${D}${sysconfdir}/default/volatiles |
101 | echo "d frr frr 0755 ${localstatedir}/run/frr none" \ | 101 | echo "d frr frr 0755 ${localstatedir}/run/frr none" \ |