Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/boot/rc -m /boot/rcmain
2
 
3
/boot/echo -n boot...
4
path=(/bin /boot)
5
bind '#p' /proc
6
bind '#d' /fd
7
bind -a '#P' /dev
8
bind -a '#t' /dev
9
bind -a '#S' /dev
10
bind -a '#I' /net
11
echo -n rpi >/dev/hostowner
12
echo -n fdisk...
13
fdisk -p /dev/sdM0/data >/dev/sdM0/ctl
14
dossrv -f/dev/sdM0/dos boot
15
rootdir=/root/plan9
16
rootspec=''
17
mount -c /srv/boot /root
18
bind -ac $rootdir /
19
bind -ac $rootdir/mnt /mnt
20
 
21
bind /$cputype/bin /bin
22
bind -a /rc/bin /bin
23
 
24
if (! ~ $#init 0)
25
	exec `{echo $init}
26
if (~ $service cpu)
27
	exec /$cputype/init -c
28
if not
29
	exec /$cputype/init -t
30
exec /boot/rc -m/boot/rcmain -i