On Friday 12 December 2003 19:15, Glenn English wrote:
> Why is setting the hostname/domainname so convoluted? It's a
> different secret process on every distro I've encountered.
>
> And Gentoo has a place for a hostname, a dnsdomainname, and a
> nisdomainname. That I know of. The more (seemingly) similar info
> stored, the more things to try at random until I got something that
> (seems to) work.
Very true. This strange behaviour for setting /etc/issue was introduced
fairly recently with a baselayout upgrade. This entry was put
in /etc/conf.d/local.start:
echo "This is \n.\o (\s \m \r)" > /etc/issue
I did `man {issue,getty,motd,login}` for help (No manual entry for
getty) and didn't find any explanation for the above command.
Only now that genone explained (thanks genone) that \o is for NIS
domainname and \O for DNS domainname am I getting the right result.
Peter
--
======================================================================
Gentoo Linux: Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3,
glibc-2.3.2-r3, 2.6.0-test11-gentoo-r1-win4lin) i686 AMD Athlon(tm) XP
3200+
======================================================================
--
[EMAIL PROTECTED] mailing list