From: Konrad Rzeszutek Wilk Date: Wed, 9 Feb 2011 22:57:12 +0000 (-0500) Subject: rcS: Fix drfb_load not loading. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5e29850ed0882f1bb06dd8900a533a3d47e44437;p=xentesttools%2Fbootstrap.git rcS: Fix drfb_load not loading. --- diff --git a/root_image/etc/init.d/rcS b/root_image/etc/init.d/rcS index 4707d9f..caba718 100755 --- a/root_image/etc/init.d/rcS +++ b/root_image/etc/init.d/rcS @@ -89,9 +89,9 @@ lspci cat /proc/interrupts cat /proc/iomem -NOFB=0 +local NOFB=0 NOFB=$(boot_parameter 'nofb') -if [ $? == 1 ]; then +if [ $? == 0 ]; then NOFB=1 fi @@ -112,6 +112,6 @@ if [ $? == 0 ]; then esac fi -if [ $NOFB == 0 ]; then +if [ $NOFB -eq 0 ]; then drfb_load & fi