- 论坛徽章:
- 0
|
半年前lfs系统就装了,一直比较忙,所以知道今天才想起了在其上继续工作。
今天完成blfs中“lfs后期配置”部分的三节:
1,增加了shell启动脚本: etc下的profile,bashrc,profile.d/* 和root下的 (.bash_profile|.bashrc|.bash_logout)等文件,并且在etc/skel目录下复制了一份,这样每次建立用户时,都会在其主目录下建立这些文件。配置中学会了dircolors命令和配置文件用法。
2,按照前些天找的vimrc文件,做了vim编辑器的配置。
3,建立了/etc/issue文件,这个文件的作用是个性化登陆界面,其中特殊变量规则如下(反斜杠调用:\d):
b Insert the baudrate of the current line.
d Insert the current date.
s Insert the system name, the name of the operating system.
l Insert the name of the current tty line.
m Insert the architecture identifier of the machine, e.g., i686.
n Insert the nodename of the machine, also known as the hostname.
o Insert the domainname of the machine.
r Insert the release number of the kernel, e.g., 2.6.11.12.
t Insert the current time.
u Insert the number of current users logged in.
U Insert the string "1 user" or " users" where is the
number of current users logged in.
v Insert the version of the OS, e.g., the build-date etc.
4,今天还从新编译了一遍内核,支持pcmci网卡。内核支持了可问题是需要有更多配置才行,呵呵,再继续吧。今天用到文件:
![]()
文件:bootscript.rar大小:4KB下载:
下载
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/61861/showart_1741912.html |
|