Skip to contentSkip to conversation

ifupdown: Fix initscript

PATCH New David Vincent 1 participant 1 message Mar 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-core/ifupdown/ifupdown_0.8.16.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta/recipes-core/ifupdown/ifupdown_0.8.16.bb +1 -4
index eb8426cb97..5654528ae8 100644
@@ -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 ."
Signature · 1 line
2.12.0