hppyhjh
级别: 普通会员
精华:
0
发帖: 76
威望: 79 点
镭: 88 L
贡献值: 0 点
在线时间:36(小时)
注册时间:2007-02-07
最后登录:2008-05-13
|
优化和自定rays1.5r2
都是些小技巧,没有大的改善,权当安慰,还要再接再厉
1 /etc/inittab 3:23:respawn:/sbin/getty 38400 tty3 ... 6:23:respawn:/sbin/getty 38400 tty3 这几行注释掉,开二个终端tty1/2足够了。
2 “系统”-〉“控制中心”-〉“服务”里不需要的服务可以去掉 但里面列出的服务不全。故还可去/etc/rc2.d里,把不需要服务停掉,将S改为K即可。 比如我停了:atd,ppp,mplayer,bluetooth,cupsys,samba,ssh,klogd,iptables (这个redhat有个命令chkconfig及setup可以设置,不知道debian有没?)
3 自定义启动/关闭时的logo及文字 http://forum.openrays.org/read-htm-tid-1419.html 这有个帖子也是讲这个的,05年底的,操作繁琐,现在简单多了。 rays使用bootsplash 包来提供 A graphical boot screen solution 启动时的图片放在/etc/bootsplash/themes/current/images/ 你可以挑个好的,或者自己制作(怎么做我不知道啊),那个silent-valentine-640x480.jpg比默认的好看,我觉得
然后修改 /etc/bootsplash/themes/current/config/bootsplash-640x480.cfg里的一行: silentjpeg=/etc/bootsplash/themes/current/images/silent-valentine-640x480.jpg
最后运行update-bootsplash-themes,就好了,它帮你把/boot/initrd.img更新好了。 至此启动/关闭时的图像定制完毕。自定文字是修改/etc/init.d/rc 有个bootmsg函数,修改下面一行引号内的内容为自己喜欢的: fbtruetype -x $text_x -y $text_y -t $text_color -s $text_size "Day `TZ="RPC" LC_ALL=C date "+%m%d %A"` $_boot ..." 就可以了
[ 此贴被hppyhjh在2007-08-06 17:40重新编辑 ]
|
作一天人,尽一天人事,行吗
|
[楼 主]
|
Posted: 2007-06-29 17:27 |
| |