From 6b8a0408d82ecdad9e620e6d5fcc85a5d728e5d8 Mon Sep 17 00:00:00 2001 From: Tomas Hancock Date: Wed, 4 Jun 2014 12:39:23 +0100 Subject: [PATCH] Add missing dollar Check is missing a dollar leading to an error on deploy ramdisk consoles when booting . Change-Id: Id61af0f7abbc353e0750580b80e448820cc17b10 --- elements/ramdisk/init.d/02-start-network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/ramdisk/init.d/02-start-network b/elements/ramdisk/init.d/02-start-network index cfcc62541..be5f7e875 100644 --- a/elements/ramdisk/init.d/02-start-network +++ b/elements/ramdisk/init.d/02-start-network @@ -17,7 +17,7 @@ readonly BOOT_INTERFACE ifconfig lo 127.0.0.1 up rv=0 ifconfig "$BOOT_INTERFACE" up || rv=1 -if [ rv -ne 0 ]; then +if [ $rv -ne 0 ]; then sleep 10 rv=0 ifconfig "$BOOT_INTERFACE" up || rv=1