ref: f3afdf563f784c0a5703496f48c1a72dff4617f4
dir: /update/
#!/bin/rc # update - update your 9front system # usage: update curdir=`{pwd} echo UPDATING SYSTEM SOURCE CODE sysupdate echo DOWNLOAD COMPLETED echo CONTINUE AND RECOMPILE [y/N] choice=`{read} if (~ $choice [yY]* ) echo YOU ASKED FOR IT: RECOMPILING if not exit cd / . /sys/lib/rootstub echo BUILDING echo UPDATING COMPILERS cd /sys/src/cmd/cc mk install cd /sys/src/cmd/6c mk install echo UPDATING SYSTEM cd /sys/src mk install mk clean echo UPDATING MANUALS cd /sys/man mk echo UPDATING DOCUMENTS cd /sys/doc mk mk html echo UPDATING KERNEL BRAIN cd /sys/src/9/pc64 mk install echo FLASHING NEW MEMORY BRAIN 9fs 9fat rm /n/9fat/9bootfat cp /386/9bootfat /n/9fat/ chmod +al /n/9fat/9bootfat cp /amd64/9pc64 /n/9fat cd $curdir echo 9front UPDATE IS COMPLETE echo FSHALT -R NOW OR FACE DOOM