--- bin/dxworker.in.orig	Sun Dec 19 00:22:09 1999
+++ bin/dxworker.in	Fri Feb 11 19:21:17 2000
@@ -22,8 +22,8 @@
 # determine the machine type, and set uiarch, exarch and thisver defaults
 switch ( $thissys )
   case FreeBSD:
-    set exarch=freebsd
-    set uiarch=freebsd
+    set exarch=$thismach
+    set uiarch=$thismach
 
     set remote=/usr/bin/rsh
 
@@ -139,7 +139,7 @@
 
 # default to running locally, from /usr/lpp/dx  
 set exhost=$thishost
-set dxroot=/usr/lpp/dx
+set dxroot=@prefix@/dx
 set startup=1   # run the startup window by default
 
 
@@ -1459,7 +1459,7 @@
   case aviion:
   case alphax:
   case linux:
-  case freebsd:
+  case i386:
     breaksw
   
   default:
