#!/bin/rc
# cpu-specific startup
# Since booting from venti could have started loopback,
# don't test for existing interfaces, just use ipconfig.
# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask
# ip/dhcpd
# ip/tftpd
dmaon
ip/ipconfig
ndb/dns -s
# auth server
auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null >[2=1]
auth/cron >>/sys/log/cron >[2=1] &
auth/secstored
auth/secstore -n -G factotum | read -m >>/mnt/factotum/ctl
# auth-aware listener: replaces global cpurc's plain aux/listen -q tcp
aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp
sleep 3
|