I'm writing a script that will need to run across FreeBSD, Debian, Gentoo and probably other machines, and will need to tell me, among other things, which daemons would launch at startup if the machine were rebooted. So I wonder
1) what the best Debian command is to figure this out in a scriptable way (which is to say, I know that rcconf will tell me this); 2) if there's any general, portable way to do this across Unices; and most generally 3) if anyone can point me to a website that lists side-by-side comparisons of which commands handle identical tasks across Unices. For that matter, 4) Other than testing for the existence of /etc/[distro name]{_,-}version, is there any way -- without assuming that the distro is LSB-compliant -- to figure out which distro is in front of me? -- Stephen R. Laniel [EMAIL PROTECTED] +(617) 308-5571 http://laniels.org/ PGP key: http://laniels.org/slaniel.key
signature.asc
Description: Digital signature