]> err.no Git - dotfiles/commitdiff
Set pilotport a bit more correctly
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 13 Feb 2004 01:58:22 +0000 (01:58 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 13 Feb 2004 01:58:22 +0000 (01:58 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@366 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index 170323d6a8e4ce7aaa0d5867d0f0f9315ccaa2bf..3b770f7a1a955a7fb816f1ed0a5a3b34f957eaf6 100644 (file)
@@ -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