wall_john 发表于 2005-7-31 19:09:20

bootsplash无法显示滚动条

当magiclinux中initscripts因为hal升级后bootsplash无法显示滚动条,
修改/etc/rc.d/rc.sysinit将语句:"[ -x /sbin/start_udev ] && /sbin/start_udev"
提到startanimate之前, 就可以了,像这样:
[ -x /sbin/start_udev ] && /sbin/start_udev

# Graphical bootup...
if [ "$BOOTUP" = "graphical" ]; then
if [ -w /proc/splash -a -e /proc/fb ]; then
# Initialize bootsplash
# TODO: Find out runlevel (-> number of startup scripts -> number of steps)
runlevel=5
export kscripts=`/bin/ls /etc/rc.d/rc$runlevel.d/K* |/usr/bin/wc |/bin/awk '{ print $1 }'`
export sscripts=`/bin/ls /etc/rc.d/rc$runlevel.d/S* |/usr/bin/wc |/bin/awk '{ print $1 }'`
export progress=1
# HACK: count rc.sysinit stuff as startup scripts...
sscripts=$(( $sscripts + 19 ))
startanimate # start the animate
else
# Kernel doesn't have bootsplash support --> switch to text
export BOOTUP=color
fi
fi
是因为/sbin/start_udev要重建设备文件:)

KanKer 发表于 2005-7-31 19:11:29

在 beta2 中已修正过了 :)
页: [1]
查看完整版本: bootsplash无法显示滚动条