mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
Commit Scott's changes to the bad144 stuff - bad144 takes a list of bad
blocks as *multiple* arguments, not one argument (as was incorrectly being passed).
This commit is contained in:
parent
97e31cd74c
commit
4d7351f7d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1776
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# cd install floppy disk /install script
|
||||
#
|
||||
# $Id: cdinst1.install,v 1.3 1994/05/03 10:11:47 rgrimes Exp $
|
||||
# $Id: cdinst1.install,v 1.4 1994/06/20 06:05:15 jkh Exp $
|
||||
|
||||
# ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all
|
||||
# setup by .profile
|
||||
@ -864,7 +864,7 @@ if [ "$sect_fwd" = "sf:" ]; then
|
||||
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
|
||||
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
|
||||
done)
|
||||
[ "$badlist" ] && bad144 -a -c $drivename "$badlist"
|
||||
[ "$badlist" ] && bad144 -a -c $drivename $badlist
|
||||
echo " done."
|
||||
fi
|
||||
|
||||
|
@ -882,7 +882,7 @@ if [ "$sect_fwd" = "sf:" ]; then
|
||||
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
|
||||
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
|
||||
done)
|
||||
[ "$badlist" ] && bad144 -a -c $drivename "$badlist"
|
||||
[ "$badlist" ] && bad144 -a -c $drivename $badlist
|
||||
echo " done."
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user