#!/bin/rc # local terminal startup # Default for upas site=9srv.net fileserver=9srv.net facedom=9srv.net cpu=9srv.net # Let $hostname/termrc do this if they want; too long a boot lag. # ip/ipconfig TIMESYNCARGS='' if(test -e /net/ipifc/0/ctl) TIMESYNCARGS=(-n pool.ntp.org) # ed(1)term if (test -w '#G'/gpio) { echo 'pullup 5' > '#G'/gpio edterm=`{/usr/a/bin/arm/pibutton | grep '^5:'} if (~ $edterm(2) 0) { echo 'ed(1) is the standard editor.' ed } }