Re: [9fans] Re: new termrc
> I need an advice. I have a standalone plan9 computer, and if I use[color=blue]
> the /rc/bin/termrc, then my $sysname is blank. It's, obviously,
> because I use DHCP to set my ip address and other parameters, and I
> use those settings as part of my network database. But at the time
> when /rc/bin/termrc sets $sysname, network is not started yet and all
> those parameters aren't available yet.[/color]
ndb/cs sets $sysname when it starts up by
looking for an entry in the ndb with the
right ethernet address (cat /net/ether0/addr).
if you add ether=010203040506 (with your
ethernet address) to the entry for your system
then $sysname should get set.