- 论坛徽章:
- 0
|
busybox-1.11.2
linux-2.6.21
工具链是自己做的,gcc-4.2.3
系统启动都没有问题,文件系统也都OK,shell命令也能用,就是显示有点不对。哪位大侠帮忙给看看,给点提示,不胜感谢。
************************************************************************************
init started: BusyBox v1.11.2 (2008-09-12 15:44:36 CST)
starting pid 767, tty '': '/etc/init.d/rcS'
Processing etc/init.d/rcS
Mount all
Start mdev
*****************************************
RootFS by NFS
****************************************
starting pid 771, tty '': '-/bin/sh'
Processing /etc/profile...
Set search library path
Set user path
Set SP1
Done
[root@tiger \w]\$ls
[1;34mbin[0m [1;34mdev[0m [1;34mhome[0m [1;36mlinuxrc[0m [1;34mproc[0m [1;34msbin[0m [1;34mtmp[0m [1;34mvar[0m
[1;34mboot[0m [1;34metc[0m [1;34mlib[0m [1;34mmnt[0m [1;34mroot[0m [1;34msys[0m [1;34musr[0m
[root@tiger \w]\$cd etc
[root@tiger \w]\$ls
[0;0mfstab[0m [1;34minit.d[0m [0;0mmdev.conf[0m [0;0mprofile[0m [0;0mshadow[0m
[0;0mgroup[0m [0;0minittab[0m [0;0mpasswd[0m [0;0mprofile~[0m
[root@tiger \w]\$cat inittab
::sysinit:/etc/init.d/rcS
::respawn:-/bin/sh
::restart:/sbin/init
tty2::askfirst:-/bin/sh
::ctrlaltdel:/bin/umount -a -r
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
[root@tiger \w]\$cat profile
# /etc/profile: system-wide .profile file for the Bourne shells
echo
echo "Processing /etc/profile... "
# no-op
echo "Set search library path"
export LD_LIBRARY_PATH=/lib:/usr/lib
echo "Set user path"
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
echo "Set SP1"
export HOSTNAME="tiger"
export PS1="[$USER@$HOSTNAME \\w]\\$"
echo "Done"
echo
[root@tiger \w]\$
************************************************************************************ |
|