Configure scripts

Jerry Feldman gaf at mediaone.net
Sat May 22 12:01:01 EDT 1999


I am looking for a distribution independent method to definitively determine 
that I am running on a linux host. The way that the current scrips are 
configured is:
test -f /boot/vmlinuz

I don't like this because Alpha linux is /vmlinux.gz

uname returns Linux.
I test this on SuSE today, but I would surmise that uname is the best way 
to go. Any thoughts.
+----------------------------------------------+
Gerald Feldman <gaf at mediaone.net>
Boston Computer Solutions and Consulting
ICQ#156300
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list