From: Konrad Rzeszutek Wilk Date: Wed, 9 Feb 2011 20:36:10 +0000 (-0500) Subject: drfb: Make the init script properly deal with test=dfb X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b1a343dedad60852a18111a0bb9f79371816eeea;p=xentesttools%2Fbootstrap.git drfb: Make the init script properly deal with test=dfb --- diff --git a/root_image/etc/init.d/rcS b/root_image/etc/init.d/rcS index 5228671..4707d9f 100755 --- a/root_image/etc/init.d/rcS +++ b/root_image/etc/init.d/rcS @@ -89,6 +89,11 @@ lspci cat /proc/interrupts cat /proc/iomem +NOFB=0 +NOFB=$(boot_parameter 'nofb') +if [ $? == 1 ]; then + NOFB=1 +fi TEST=$(boot_parameter 'test') if [ $? == 0 ]; then @@ -102,5 +107,11 @@ if [ $? == 0 ]; then ;; dfb) while (true); do dfbtest_fillrect; done & + NOFB=1 + ;; esac -fi +fi + +if [ $NOFB == 0 ]; then + drfb_load & +fi