mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 20:54:13 +01:00
Syntax errors corrected
Add support for Sony CDROM
This commit is contained in:
parent
6131b9dcd0
commit
9324ad8d8f
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: extract.sh,v 1.17 1994/12/04 03:41:18 jkh Exp $
|
||||
# $Id: extract_bin.sh,v 1.1 1995/01/14 07:41:39 jkh Exp $
|
||||
PATH=/stand:$PATH
|
||||
DDIR=/
|
||||
|
||||
@ -11,7 +11,7 @@ if [ -f $DDIR/etc/defaultrouter ]; then
|
||||
cp $DDIR/etc/defaultrouter $DDIR/stand/etc
|
||||
fi
|
||||
echo; echo "Extracting bindist, please wait."
|
||||
cat bindist.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
cat bin.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
if [ -f $DDIR/stand/etc/myname ]; then
|
||||
# Add back what the bindist nuked.
|
||||
cp $DDIR/stand/etc/myname $DDIR/etc
|
||||
|
@ -10,7 +10,7 @@
|
||||
# putting your name on top after doing something trivial like reindenting
|
||||
# it, just to make it look like you wrote it!).
|
||||
#
|
||||
# $Id: instdist.sh,v 1.2 1995/01/27 07:37:53 jkh Exp $
|
||||
# $Id: instdist.sh,v 1.3 1995/01/28 01:18:42 jkh Exp $
|
||||
|
||||
if [ "${_INSTINST_SH_LOADED_}" = "yes" ]; then
|
||||
return 0
|
||||
@ -193,7 +193,7 @@ media_extract_dist()
|
||||
fi
|
||||
fi
|
||||
if [ -f do_cksum.sh ]; then
|
||||
message "Verifying checksums for distribution. Please wait!"
|
||||
message "Verifying checksums for ${MEDIA_DISTRIBUTION} distribution. Please wait!"
|
||||
if sh ./do_cksum.sh; then
|
||||
if [ -f extract.sh ]; then
|
||||
message "Extracting ${MEDIA_DISTRIBUTION} distribution. Please wait!"
|
||||
@ -210,7 +210,7 @@ media_extract_dist()
|
||||
error "Checksum error(s) found. Please check media!"
|
||||
fi
|
||||
else
|
||||
error "Improper distribution. No checksum script found!"
|
||||
error "Improper ${MEDIA_DISTRIBUTION} distribution. No checksum script!"
|
||||
media_reset
|
||||
fi
|
||||
}
|
||||
@ -447,7 +447,8 @@ correct value and press return."; then
|
||||
"Which type of CDROM drive do you have attached to your \n\
|
||||
system? FreeBSD supports the following types:\n" -1 -1 2 \
|
||||
"SCSI" "SCSI CDROM drive attached to supported SCSI controller" \
|
||||
"Mitsumi" "Mitsumi CDROM drive" \
|
||||
"Sony" "Sony CDU33 or compatible CDROM drive" \
|
||||
"Mitsumi" "Mitsumi CDROM (non-IDE) drive" \
|
||||
2> ${TMP}/menu.tmp.$$
|
||||
RETVAL=$?
|
||||
CHOICE=`cat ${TMP}/menu.tmp.$$`
|
||||
@ -459,6 +460,10 @@ system? FreeBSD supports the following types:\n" -1 -1 2 \
|
||||
MEDIA_DEVICE=/dev/cd0a
|
||||
;;
|
||||
|
||||
Sony)
|
||||
MEDIA_DEVICE=/dev/scd0a
|
||||
;;
|
||||
|
||||
Mitsumi)
|
||||
MEDIA_DEVICE=/dev/mcd0a
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user