Use hostname(1) in preference to uname(1) in case /usr isn't mounted.
This commit is contained in:
parent
28dfc695f0
commit
fbdc9c3fcb
|
@ -1,11 +1,11 @@
|
|||
# $NetBSD: dot.profile,v 1.17 2005/02/22 08:28:34 sketch Exp $
|
||||
# $NetBSD: dot.profile,v 1.18 2005/02/22 09:12:17 sketch Exp $
|
||||
|
||||
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
|
||||
export PATH=${PATH}:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
|
||||
|
||||
export BLOCKSIZE=1k
|
||||
|
||||
export HOST="$(uname -n)"
|
||||
export HOST="$(hostname)"
|
||||
|
||||
if [ -x /usr/bin/tset ]; then
|
||||
eval `tset -sQrm 'unknown:?unknown'`
|
||||
|
|
Loading…
Reference in New Issue