Re: VDQ : Which Debian? (fwd)

2008-03-05 Thread Mike Bird
I just took at look at webmin which has always seemed to me to do a good job of guessing the OS. It appears that that webmin looks at /etc/.issue or /etc/issue, and the result of "uname -a". In /usr/share/webmin take a look at oschooser.pl and os_list.txt. Webmin has been removed from Debian but

Re: VDQ : Which Debian? (fwd)

2008-03-05 Thread Sven Joachim
On 2008-03-05 21:21 +0100, Beartooth wrote: >Very interesting; It's fine in Fedora (so > presumably also in CentOS, which I don't > have booted right now)and in Debian; in Ubuntu > it says "lenny/sid," which I guess is an answer. A bad one, IMHO, since it does not distinguish Ubuntu from D

Re: VDQ : Which Debian? (fwd)

2008-03-05 Thread Beartooth
> This works in many distros, but not all ... > >(shopt -s nullglob; cat /etc/{debian_version > ,redhat-release}*) Very interesting; It's fine in Fedora (so presumably also in CentOS, which I don't have booted right now)and in Debian; in Ubuntu it says "lenny/sid," which I guess is an