From: Konrad Rzeszutek Wilk Date: Wed, 25 Jan 2012 03:03:25 +0000 (-0500) Subject: rcS: Add support to call /init.late _after_ the network has been brought up. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=90b9bdc0bd1e0e0d102fa8d55ca61fc0a90b1700;p=xentesttools%2Fbootstrap.git rcS: Add support to call /init.late _after_ the network has been brought up. Especially useful to then do such things as login in iSCSI storage. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/etc/init.d/rcS b/root_image/etc/init.d/rcS index 3cc869d..a893b5c 100755 --- a/root_image/etc/init.d/rcS +++ b/root_image/etc/init.d/rcS @@ -99,6 +99,11 @@ lspci cat /proc/interrupts cat /proc/iomem +if [ -x /init.late ]; then + action $"Waiting for init.late" + /init.late +fi + TEST=$(boot_parameter 'test') if [ $? == 0 ]; then echo "Starting $TEST testcase.."