免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1213 | 回复: 0
打印 上一主题 下一主题

12月26日增加shell启动脚本、vimrc和issue部分 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-25 17:08 |只看该作者 |倒序浏览
半年前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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP