Could you tell me where to set ash's prompt as "[root at localhost]#"?
ZHOU ZHONGJUN
ZHONGJUN.ZHOU at alcatel-sbell.com.cn
Wed Mar 14 07:04:57 PDT 2007
Hi, all,
Could you tell me where to set shell prompt as "[root at localhost]#"? when I let ash/sh of busybox is bringing-up, there is no any prompt , The uart is still alive. When I press PS1="[\h at u]#",then press enter key, it get "[\h@" prompt. The following is my booting message printed in UART.
Thanks in advance!
John Zhou
========================================================================
======
Hit any key to stop autoboot: 0
=>
=>
=> setenv bootargs root=/dev/mtdblock3 rootfstype=cramfs
console=ttyS0,115200 init=/bin/sh
=>
=> boot
## Booting image at 90080000 ...
Image Name: Linux-2.6.19.2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1162528 Bytes = 1.1 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing
Linux...................................................................
......... done, booting the kernel.
Linux version 2.6.19.2 (zhouzj at eponshu) (gcc version 3.4.4) #1 Wed Mar
14 17:35:37 CST 2007
CPU: XScale-Core3 [69056604] revision 4 (ARMv5TE), cr=040031ff
Machine: EPON OBC Platform
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
....
....
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 96K
BusyBox v1.5.0.svn (2007-03-14 17:39:54 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
PS1="[\h at u]#"
[\h at cd /bin
[\h@
[\h@
[\h@
==========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20070314/b7ee4a7e/attachment.html
More information about the busybox
mailing list