30 lines · 578 B · rc
RawDownload
#!/boot/rc -m /boot/rcmain /boot/echo -n boot...path=(/bin /boot)bind '#p' /procbind '#d' /fdbind -a '#P' /devbind -a '#t' /devbind -a '#S' /devbind -a '#I' /netecho -n rpi >/dev/hostownerecho -n fdisk...fdisk -p /dev/sdM0/data >/dev/sdM0/ctldossrv -f/dev/sdM0/dos bootrootdir=/root/plan9rootspec=''mount -c /srv/boot /rootbind -ac $rootdir /bind -ac $rootdir/mnt /mnt bind /$cputype/bin /binbind -a /rc/bin /bin if (! ~ $#init 0)	exec `{echo $init}if (~ $service cpu)	exec /$cputype/init -cif not	exec /$cputype/init -texec /boot/rc -m/boot/rcmain -i