chiark / gitweb /
xloadt variability
[ian-dotfiles.git] / config
diff --git a/config b/config
index bed6412082a90b6014c32d1bdefccc4a78da86db..4639ad581bff0ced860ec8a1b062a7bd1e77a2cf 100644 (file)
--- a/config
+++ b/config
@@ -1,6 +1,8 @@
 @@-
-chomp($hostname= `uname -n`); $? and die 'uname $?';
-($hostname)=(gethostbyname $hostname) or die "hostname $hostname ?";
+chomp($nodename= `uname -n`); $? and die 'uname $?';
+($hostname)=(gethostbyname $nodename) or die "hostname $nodename ?";
+
+$xbindir= '/usr/bin/X11';
 
 chomp($s= `uname`); $? and die "platform $?";
 if ($s =~ m/^Linux$/) {
@@ -14,6 +16,7 @@ if ($s =~ m/^Linux$/) {
     chomp($_= `uname -r`); $? and die "platform $?";
     m/^\d+\.\d+/ or die "$_ ?";
     $platform= "SunOS$&";
+    $xbindir= '/usr/openwin/bin';
 } else {
     die "$s ?";
 }
@@ -21,3 +24,4 @@ if ($s =~ m/^Linux$/) {
 $ncipher= $hostname =~ m/\.ncipher\.com$/ ? 'cam' :
           $hostname =~ m/\.ncipherusa\.com$/ ? 'bos' :
           0;
+