From: tfheen Date: Fri, 13 Feb 2004 01:58:22 +0000 (+0000) Subject: Set pilotport a bit more correctly X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1153de2775a25901dc5e8ef71fdd8502471fc1d;p=dotfiles Set pilotport a bit more correctly git-svn-id: file:///svn/tfheen/trunk/dotfiles@366 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- 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