1#!/bin/rc 2user=`{cat /dev/user} 3echo 'on a single line, please type your full name 4(and sponsor, if a temporary user), for example: 5Elizabeth Bimmler (rob)' 6 7{echo -n $user^' '; read} >> /adm/whois 8home=/usr/$user 9cd $home 10x='$' 11mkdir bin bin/rc bin/68020 bin/mips bin/sparc bin/386 12mkdir lib tmp 13bind -c tmp /tmp 14cat > lib/profile <<! 15bind -a $x^home/bin/rc /bin 16bind -a $x^home/bin/$x^cputype /bin 17font = /lib/font/bit/pelm/euro.9.font 18switch($x^service){ 19case terminal 20 prompt=('term% ' ' ') 21 fn term%{ $x^* } 22 exec 8½ 23case cpu 24 bind -b /mnt/term/mnt/8½ /dev 25 prompt=('cpu% ' ' ') 26 echo -n $x^sysname > /dev/label 27 fn cpu%{ $x^* } 28 news 29case con 30 prompt=('cpu% ' ' ') 31 news 32} 33! 34. lib/profile 35