View Single Post
  #6   (View Single Post)  
Old 7th July 2009
nihonto nihonto is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 65
Default

Quote:
Originally Posted by s0xxx View Post
Actually no idea.
So now we are two

Quote:
Originally Posted by s0xxx View Post
You don't even have the $HOST in PS1 (if what you wrote is correct). Try logging out, and in again.
I tried logging out and logging in - it doesn't help.

You are right, I don't have the $HOST in PS1 because $HOST has been set by default. The reason? I think, it's because I have the following entry in my /etc/rc.conf:

Quote:
hostname=sushi.my.domain
This is because afterboot (8) says:

Quote:
Check hostname
Use the hostname command to verify that the name of your machine is cor-
rect. See the man page for hostname(1) if it needs to be changed. You
will also need to change the contents of the ``hostname'' variable in
/etc/rc.conf or edit the /etc/myname file to have it stick around for the
next reboot.
Since then the prompt switched from simple "$" to "sushi$".

So, was this wrong?
Reply With Quote