diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 22:25:35 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-04 22:25:35 +0000 |
commit | 78828434f7d21d90ed83fa35f15f8a8efb92ee7b (patch) | |
tree | 8f76aad9ab82218401bc916588095b17433adca5 /rc/bin/inst/bootsetup | |
parent | 546cd2bea2dafe3104b1647c6a5db1b3af0353d0 (diff) | |
download | plan9front-78828434f7d21d90ed83fa35f15f8a8efb92ee7b.tar.xz |
inst/bootsetup: delete files before copying
Diffstat (limited to 'rc/bin/inst/bootsetup')
-rwxr-xr-x | rc/bin/inst/bootsetup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup index 8a4639a84..cbd472df7 100755 --- a/rc/bin/inst/bootsetup +++ b/rc/bin/inst/bootsetup @@ -49,10 +49,11 @@ case go 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 |