#!/bin/rc

rfork en

. funcs

unmount /mnt/cd >[2]/dev/null
sleep 1
kill cdfs | rc
sleep 1
cdfs -d $rdev || exit

cd /tmp
bunzip2 /sys/lib/dist/web.protect/plan9.iso.bz2
cp plan9.iso /mnt/cd/wd

if(~ $status ''){
	rm /mnt/cd/wd
	rm plan9.iso
}