cat /root/.bashrc

HOSTNAME=mybox
export HOSTNAME

hostname mybox

PS1="\e[0;31m[\u@\h \W]\$ \e[m"
export PS1

source /root/.bashrc changes the prompt to
[root@(none) ~]$

Why is (none) there? echo $HOSTNAME and hostname returns mybox.

NOTE: I've removed/uninstalled lfs-bootscripts and /etc/inittab
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to