]> granicus.if.org Git - sudo/commitdiff
added support for detecting ncr boxen
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 18 Jul 1996 22:26:50 +0000 (22:26 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 18 Jul 1996 22:26:50 +0000 (22:26 +0000)
aclocal.m4

index 57b8430025158094ea8c7765db8e8505041b9235..773b9c174ace2574ef5b1223a2da170874c1df47 100644 (file)
@@ -317,7 +317,11 @@ if test -n "$UNAMEPROG"; then
                OS="sco"
            fi
        else
-           OS=`$UNAMEPROG -v`
+           if test -f /etc/.relid -a "`$UNAMEPROG -p`" = "386/486/MC"; then
+               OS="ncr"
+           else
+               OS=`$UNAMEPROG -v`
+           fi
        fi
     fi