From cabe22b9470e870e63b5ef1ec8349c67b0823abf Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 3 Jul 2013 11:36:23 +0800 Subject: init-ifupdown: set kernel parameters firstly When do ipv6 ready test, some DAD (duplicate address detect) tests failed since it expect IPV6 will be disabled, but not. even accept_dad has been set to correct value 2. Further investigation shows the root cause is that setting the kernel parameter happens after the NIC is upped. Make kernel parameters be configured before the interfaces is upped, and duplicate setting the kernel parameters does not have negative effect. Signed-off-by: Roy.Li Signed-off-by: Jackie Huang Signed-off-by: Saul Wold --- meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/init-ifupdown') diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init index bace9df991..fb31c635be 100644 --- a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init +++ b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init @@ -58,6 +58,7 @@ check_network_swap() { case "$1" in start) echo -n "Configuring network interfaces... " + sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1 ifup -a echo "done." ;; -- cgit 1.2.3-korg