ifupdown: Fix initscript
ifupdown does not provide an initscript so this recipe should not inherit update-rc.d class. Instead, we rely on init-ifupdown recipe to startup networking. (From OE-Core rev: 4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
94ffc8e017
commit
8fdbf9fcf2
|
@ -16,7 +16,7 @@ SRCREV = "11b9f99f7ecc7052497e6786156cfed531f11823"
|
|||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
inherit update-rc.d update-alternatives
|
||||
inherit update-alternatives
|
||||
|
||||
do_compile () {
|
||||
chmod a+rx *.pl *.sh
|
||||
|
@ -44,6 +44,3 @@ ALTERNATIVE_${PN} = "ifup ifdown"
|
|||
|
||||
ALTERNATIVE_LINK_NAME[ifup] = "${base_sbindir}/ifup"
|
||||
ALTERNATIVE_LINK_NAME[ifdown] = "${base_sbindir}/ifdown"
|
||||
|
||||
INITSCRIPT_NAME = "ifup"
|
||||
INITSCRIPT_PARAMS = "start 39 S . stop 39 0 6 1 ."
|
||||
|
|
Loading…
Reference in New Issue