3 # desc: setup network configuration
4 # prereq: confignet copydist
6 etheraddr=`{cat /net/ether0/addr >[2]/dev/null}
9 case checkready checkdone
10 if(~ $#etheraddr 1 && ~ $netisfrom ether && ~ $ethermethod dhcp manual && \
11 ! grep -s $etheraddr /n/newfs/lib/ndb/local)
19 echo 'Setup network configuration'
25 prompt $default 'sysname'
32 echo 'sys='^$sysname 'ether='^$etheraddr
35 echo 'sys='^$sysname 'ether='^$etheraddr \
36 'ip='^$ipaddr 'ipmask='^$ipmask 'ipgw='^$gwaddr
39 } >>/n/newfs/lib/ndb/local