ref: 05d28df9cdd975c3564d893c79ce245b8901a9f3
parent: 361febde1cb39a9df4ff8955d35b4bcccb5e1a8d
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Jun 4 18:25:35 EDT 2011
inst/bootsetup: delete files before copying
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -49,10 +49,11 @@
disk/format -r 2 -d -b /386/pbs $fat
mount -c /srv/dos /n/9fat $fat
}
- logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
+ logprog rm -f /n/9fat/^(9bootfat plan9.ini 9pcf 9pccpuf)
logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat
# make file continous on disk
logprog chmod +al /n/9fat/9bootfat
+ logprog cp /tmp/plan9.ini /n/9fat/plan9.ini
logprog cp /n/newfs/386/9pcf /n/9fat/9pcf
logprog cp /n/newfs/386/9pccpuf /n/9fat/9pccpuf
--
⑨