echo "*.* /var/log/messages" >> /etc/syslog.conf
/sbin/syslogd
-/usr/bin/xen-detect -N -q
-if [ $? == 1 ]; then
+/usr/bin/xen-detect -P
+if [ $? == 0 ]; then
modprobe evtchn
modprobe xen_evtchn
/etc/init.d/xencommons start
/etc/init.d/xend start
rm -f /dev/ttyS0
ln -s /dev/null /dev/ttyS0
+ sed -i 's/\(^ttyS0.*\)/# \1/' /etc/inittab
else
rm -f /dev/hvc0
ln -s /dev/null /dev/hvc0
+ sed -i 's/\(^hvc0.*\)/# \1/' /etc/inittab
echo "You might have to do kill -1 1 if you see 'can't open /dev/hvc0'"
fi
PATH=$PATH:/usr/bin:/usr/sbin
cat /proc/interrupts
cat /proc/iomem
-local NOFB=0
NOFB=$(boot_parameter 'nofb')
if [ $? == 0 ]; then
- NOFB=1
+ NOFB="yes"
fi
TEST=$(boot_parameter 'test')
;;
dfb)
while (true); do dfbtest_fillrect; done &
- NOFB=1
+ NOFB="yes"
;;
net)
netserver
;;
esac
fi
-
-if [ $NOFB -eq 0 ]; then
+if [ -z $NOFB ]; then
drfb_load &
fi