My cpurc (based on one from the labs) does this:
---
# site-specific startup
if (test -e /rc/bin/cpurc.local)
        .   /rc/bin/cpurc.local

#  [...]

# cpu-specific early startup, notably cron
if (test -e /cfg/$sysname/cpurc)
        .   /cfg/$sysname/cpurc

#  [...]

# start up internet if we don't already have an address
if(! grep u /net/ipselftab | grep -sv 127.0.0.1)
        ip/ipconfig
if(! grep -s 127.0.0.1 /net/ipselftab)
        ip/ipconfig loopback /dev/null 127.1
---

which should be more robust.

One of my current tasks is to simplify administration.  I'll be back
at the labs tomorrow (Monday) and will look into why we don't have
a similar cpurc nor /cfg on sources.  At minimum, one wants /cfg/pxe for
pxe booting.

Reply via email to