>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"

JohnStanley

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

Reply via email to