John wrote:
>> From CentOS /etc/redhat-release:
> CentOS release 5.2 (Final)
> 
>> From RHEL3 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
> 
>> From RHEL4 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
> 
> Has anybody maybe actually done this already and can tell if it'd
> work? 
> 
> What other places may a software look into to check the computer runs
> the correct OS?
> 
> JohnStanley Writes:
> 
> Yes that will work. Replace the appropriate string. Also do cat
> /etc/issue. 
> One more and it is called programatically "rpm --whatprovides"

Nice! Thx, will investigate the suggested files and rpm stuff.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to