
this makes sure tcp boot will have ther user /tmp's the same way as from local cwfs. we used /srv/cwfs to prevent a deadlock with 9660srv as a root filesystem which has been fixed now.
33 lines
830 B
Bash
33 lines
830 B
Bash
bind -a $home/bin/rc /bin
|
|
bind -a $home/bin/$cputype /bin
|
|
mount -qC /srv/boot /n/other other
|
|
bind -qc /n/other/usr/$user/tmp $home/tmp
|
|
bind -c $home/tmp /tmp
|
|
if(! syscall create /tmp/xxx 1 0666 >[2]/dev/null)
|
|
ramfs # in case we're running off a cd
|
|
font=/lib/font/bit/vga/unicode.font
|
|
switch($service){
|
|
case terminal
|
|
if(! webcookies >[2]/dev/null)
|
|
webcookies -f /tmp/webcookies
|
|
webfs
|
|
plumber
|
|
echo -n accelerated > '#m/mousectl'
|
|
echo -n 'res 3' > '#m/mousectl'
|
|
prompt=('term% ' ' ')
|
|
fn term%{ $* }
|
|
rio -i riostart
|
|
case cpu
|
|
bind /mnt/term/dev/cons /dev/cons
|
|
bind -q /mnt/term/dev/consctl /dev/consctl
|
|
>[2] /dev/null {
|
|
cp /dev/sysname /mnt/term/dev/label
|
|
if(wsys=`{cat /mnt/term/env/wsys})
|
|
wsys=/mnt/term^$wsys
|
|
}
|
|
bind -a /mnt/term/dev /dev
|
|
prompt=('cpu% ' ' ')
|
|
fn cpu%{ $* }
|
|
case con
|
|
prompt=('cpu% ' ' ')
|
|
}
|