I'm using a scrip to log-in/boot strap the system over NFS

-----
#!/bin/sh

HOST=${0##*/}
HOST=${HOST#*-}
ROOT=/mnt/${HOST}
...
exec chroot '${ROOT}' /bin/bash -l
---

When I'm presented with bash prompt, it is the same as the one I logged
IN from.  So to eliminate the confusion I would like to change (add to)
the bash prompt the "HOST' name I log-in to.

When I log-in I'm presented with: "syscon3 #"
I would like it to be: ROOT+HOST
eg.: syscon3-eden

-- 
Thelma

Reply via email to