[BusyBox] (no subject)

tonyb at sysdev.org tonyb at sysdev.org
Wed Mar 10 01:01:27 UTC 2004


On Tue, 9 Mar 2004 16:32:07 +0100 (CET)
r100.354482 at nexgo.de wrote:

> Hi,
> 
> I changed busybox from 0.60.3 to 1.0-pre8. Now the hostname
> prompt is missing. Trying:
> > PS1='\h$ '
> > export PS1
> just displays "\h$" as prompt
> Is there a config value I missed for ash?

I normally do a:

/bin/hostname `cat /etc/HOSTNAME | cut -f1 -d .`

somewhere in my boot scripts.

Note that /bin/hostname, in BusyBox 1.0-pre8, is still simple
and does not support the aliases like dnsdomainname et al.,
so you can not set the domain separately for use by say,
/etc/issue /o./l name expansion.

TB

--
  __      __  _     I N C.               http://www.sysdev.org
/ __|\\// __||  \  __   __          /         tonyb at sysdev.org
\__ \ \/\__ \||)|/ O_)\/ /        \/  System Tools / Utilities
|___/ || ___/|_ /\___|\_/        WIntel / Linux Device Drivers




More information about the busybox mailing list