mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user