From ace183894a5319cd73c94fd2653bbe52f29dca0b Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 27 Apr 2011 17:34:17 +0100 Subject: initscripts: remove -i from halt/reboot arguments and allow override Introduces a variable HALTARGS which specifies the arguments sent to halt and reboot, and sets the default value to "-d -f", dropping the previous -i (shut down all network interfaces before halt/reboot, which causes a freeze with NFS root.) Fixes [YOCTO #997]. Signed-off-by: Paul Eggleton --- meta/recipes-core/initscripts/initscripts-1.0/reboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/initscripts/initscripts-1.0/reboot') diff --git a/meta/recipes-core/initscripts/initscripts-1.0/reboot b/meta/recipes-core/initscripts/initscripts-1.0/reboot index 4c55885aba..cf32e95cb9 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/reboot +++ b/meta/recipes-core/initscripts/initscripts-1.0/reboot @@ -12,4 +12,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin echo -n "Rebooting... " -reboot -d -f -i +reboot SED_HALTARGS -- cgit v1.2.3