Detecting a Cobalt RaQ, was: Error Installing
Richard Siddall
richard.siddall at ELIRION.NET
Wed May 22 00:30:38 IST 2002
Julian Field wrote:
>
[snip]
> I don't know quite how to detect that I'm running on an unfixed Raq system
> when I install, I don't want to just test for whether /var/spool/mqueue is
> a link, something rather more robust than that. If I could, I would detect
> the system and set up the correct link for mqueue.in automatically.
>
> Any Raq users out there got any brilliany ideas on this one?
> --
> Julian Field Teaching Systems Manager
> jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
> Tel. 023 8059 2817 University of Southampton
> Southampton SO17 1BJ
I don't know, maybe:
[ -f /usr/local/sbin/cobalt_gestalt ]
Or some other file that only shows up on a RaQ or Qube.
(I only tested this on a RaQ4i.)
In Perl you could do something like:
eval {
require Cobalt::Meta;
}
I hope this helps.
Richard.
More information about the MailScanner
mailing list