Hi all<br>I have just build kernel and ramdisk for TQM8xxL success. But when I login I receive <br>[root@h W] , my hostname is van and current directory is /root/bin ,May I receive [root@van bin]<br>Here is my /etc/inittab and /etc/profile<br><br>#/etc/inittab<br>/////////////////////////////////////////////////////////////<br><br>&nbsp;This is run first except when booting in single-user mode.<br>::sysinit:/etc/rc.sh<br>#::sysinit:/etc/rc.sysinit<br># /bin/sh invocations on selected ttys<br>#<br># Start an "askfirst" shell on /dev/ttyS1<br>::respawn:/sbin/getty -L 115200 ttyS0 ansi<br># ansi<br>#<br># Start internet super daemon; do NOT background!<br>#::respawn:/usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid<br><br># Start user application<br>#::respawn:/bin/application<br># Must be last 'respawn' entry to avoid ^C problem<br># Start a shell on the console<br>#::respawn:-/bin/sh<br><br>#
 /etc/profile<br>//////////////////////////////////////////////////////////////<br>#echo Exec "/etc/profile" Dir `pwd`<br><br># System wide environment and startup programs<br># Functions and aliases go in /etc/bashrc<br><br>#alias rm='rm -i'<br>#alias w='w -u'<br>HOSTNAME=`/bin/hostname`<br>PS1="[$USER@\h \W]\\$ "<br><br>#ulimit -c 1000000<br>if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; umask 002<br>else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; umask 022<br>fi<br><br>USER=`id -un`<br>LOGNAME=$USER<br>MAIL="/var/spool/mail/$USER"<br><br>HISTSIZE=1000<br>HISTFILESIZE=1000<br><br>if [ -e /etc/TIMEZONE ]; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TZ=`cat /etc/TIMEZONE`; export TZ<br>else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unset TZ<br>fi<br><br>INPUTRC=/etc/inputrc<br>PATH=$PATH:/usr/local/bin<br><br>export PATH HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL INPUTRC
 PS1<br><br>/////////////////////////////////////////////////////////////////////////<br><br>//etc/rc.sh<br>//////////////////////////////////////////////////////////<br>#!/bin/sh<br><br>/sbin/ifconfig lo 127.0.0.1<br><br>&gt;/etc/mtab<br><br># mount /proc so "reboot" works<br>/bin/mount -t proc proc /proc<br><br>## try mount PC Card partition<br>##<br>## mount read-only by default to prevent corruption<br>##<br>#echo /dev/hda1 /mnt &gt;&gt;/etc/fstab<br>#mkdir -p /mnt<br>#mount -o ro /dev/hda1 /mnt<br>#<br>## run PC Card init script if it exists<br>#if [ -f /mnt/run.sh ] ; then<br>#/mnt/run.sh<br>#fi<br>/usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid<br><br><p>&#32;Send instant messages to your online friends http://au.messenger.yahoo.com