From a1153de2775a25901dc5e8ef71fdd8502471fc1d Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 13 Feb 2004 01:58:22 +0000 Subject: [PATCH] Set pilotport a bit more correctly git-svn-id: file:///svn/tfheen/trunk/dotfiles@366 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/environment b/environment index 170323d..3b770f7 100644 --- a/environment +++ b/environment @@ -121,7 +121,6 @@ LESS="-m" RSYNC_RSH=ssh CVS_RSH=ssh PILOTRATE=115200 -PILOTPORT=/dev/usb/tts/0 #MAIL=/var/spool/mail/tfheen DEBEMAIL=tfheen@debian.org DEBFULLNAME="Tollef Fog Heen" @@ -166,6 +165,18 @@ if [ -z "$LANG" ]|| [ "$LANG" = "C" ]; then fi fi +case "$HOSTNAME" in + golem*) + PILOTPORT=/dev/ttyS0 + ;; + yiwaz*) + PILOTPORT=/dev/usb/tts/0 + ;; + *) + PILOTPORT= + ;; +esac + case "$DOMAINNAME" in idi.ntnu.no|stud.ntnu.no|raw.no) XTERM=Eterm -- 2.39.5