/usr/bin/fb_test
- modprobe i2c-core
- modprobe i2c-algo-bit
- modprobe drm debug=255
- modprobe agpgart-intel
+ modprobe i2c-core >/dev/null 2>&1
+ modprobe i2c-algo-bit >/dev/null 2>&1
+ modprobe drm debug=255 >/dev/null 2>&1
+ modprobe agpgart-intel >/dev/null 2>&1
- modprobe radeon modeset=1
- modprobe nouveau modeset=1
- modprobe i915 modeset=1
+ modprobe radeon >/dev/null 2>&1
+ modprobe nouveau >/dev/null 2>&1
+ modprobe i915 >/dev/null 2>&1
/lib/udev/console_init tty0
/usr/bin/fb_test
-
+
BDF=0000:`lspci -mm | grep VGA | awk '{ print $1 }'`
echo VGA: $BDF
if [ ! -d /dev/dri ]; then
- rm -f /usr/lib*/plymouth/renderers/drm.so
+ rm -f /usr/lib*/plymouth/renderers/drm.so >/dev/null 2>&1
fi
plymouth --show-splash
plymouth message --text=Yo
*)
fb_start
;;
- esac
+ esac
fi
NODMADUMP=$(boot_parameter 'nodmadump')
if [ $? == 1 ]; then
- modprobe dump_dma
- rmmod dump_dma
+ modprobe dump_dma >/dev/null 2>&1
+ rmmod dump_dma >/dev/null 2>&1
fi
if [ `uname -m` == "x86_64" ]; then
/etc/init.d/primary_fb stop
# Start iSCSI initiator
-modprobe crc32c
-modprobe libcrc32c
-modprobe iscsi_tcp
-modprobe scsi_transport_iscsi
+modprobe crc32c >/dev/null 2>&1
+modprobe libcrc32c >/dev/null 2>&1
+modprobe iscsi_tcp >/dev/null 2>&1
+modprobe scsi_transport_iscsi >/dev/null 2>&1
NOIBFT=$(boot_parameter 'noibft')
if [ $? == 1 ]; then
IQN="iqn.1994-05.com.dumpdata:"`hostname -i | md5sum | awk '{print $1}'`
echo "InitiatorName=$IQN" > /etc/iscsi/initiatorname.iscsi
iscsid &
- modprobe iscsi_boot_sysfs
+ modprobe iscsi_boot_sysfs >/dev/null 2>&1
/sbin/iscsistart -f
fi
fi
if [ $XEND_LOAD -eq 1 ]; then
- modprobe evtchn
- modprobe xen_evtchn
+ modprobe evtchn >/dev/null 2>&1
+ modprobe xen_evtchn >/dev/null 2>&1
# Xen 4.0 can't deal with xencommons running first
XEN_VERSION=`xen-detect | sed -e 's/.*v//' -e 's/\.//g'`
if [ "$XEN_VERSION" != 40 ]; then