Hola,

IMHO we can make this changes:

1. Create a new file /cfg/example/cpustart with this contents:

# The auth services
# aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service il
# aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp

# To start rio
# aux/mouse $mouseport
# aux/vga -l $vgasize
# exec rio

2. Add this lines to end of the /rc/bin/cpurc.local file

# bind the devices to use
# for (i in m i S t)
#       bind -a '#'^$i /dev >/dev/null >[2=1]


At the other hand, why in the /cfg/example/cpurc file the "dns" command is "ndb/dns -s" and not "ndb/dns -r". Probably we need to leave both lines:

# Uncomment if you are a DNS server
# ndb/dns -s
# Uncomment if you are DNS resolver
# ndb/dns -r

After the comments, I will create a patch and I will make the changes in the Wiki.

Thanks.

Saludos.

erik quanstrom wrote:
This lines are not in the /cfg/$sysname/cpurc file

iirc these lines go into /rc/bin/cpurc, not /cfg/$sysname/cpurc


actually, neither exactly reflects the state of the current dist's cpurc.
there are provisions for "site-specific startup", "cpu-specific startup"
(/cfg/$sysname/cpurc) and "cpu-specific late startup"
(/cfg/sysname/cpustart).

but since it's just a shell script, you can change it any way you'd like.
i find it a bit easier to manage changes with big switch statement.
a vast majority of our cpu servers don't have a case in the switch
anyway.

but then again, i'm a well-known luddite. ;-)

- erik

Reply via email to