Try "/etc/redhat-release".

                        - Matt

Jesse Noller wrote:
> 
> I have a quick question for everyone, I have to write an installation script
> for a piece of software on linux, however, this product is supported on
> multiple distribution types. I need some definitive way of determining a
> SYSTYPE variable to the tune of
> 
>         cat /path/to/item | grep Redhat
> 
>         Etc...
> 
> The distributions do handle things differently, but some common piece must
> be shared. I was originally figuring on doing a cat on /proc/version,
> however, this only greps out the current kernel version, and on machines
> with custom kernels, is basically useless.
> 
> Any help would be nice
> 
> -Jesse Noller
> Linux Systems Lead
> Allaire Corp
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list

-- 
---------------------------------------------------------------------
Matt Fahrner                                    2 South Park St.
Manager of Networking                           Willis House
Burlington Coat Factory Warehouse               Lebanon, N.H.  03766
TEL: (603) 448-4100 xt 5150                     USA
FAX: (603) 443-6190                             [EMAIL PROTECTED]
---------------------------------------------------------------------



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to