[bglug] Openbsd 3.7

k|b|s kbs@bglug.it
Mer 15 Giu 2005 00:49:15 CEST


Qualche anima buona mi scarica openbsd 3.7?
Qui c'è lo script per fare la iso bootabile:

----cut here----
#!/bin/bash 

# OpenBSD version
VERDOT=3.7
#####################
VER=`echo $VERDOT | sed 's/\.//'`

# Select a mirror
#MIR="ftp://ftp.kd85.com/pub/OpenBSD/$VERDOT"
#MIRi="ftp://ftp.kd85.com/pub/OpenBSD/$VERDOT/i386"
MIR="ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/$VERDOT"
MIRi="ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/$VERDOT/i386"

fp=ncftpget

#####################
TMP=/tmp/OpenBSD-$VER
if [ ! -d $TMP ]; then
   mkdir -p $TMP
   chmod 700 $TMP
fi

mkdir -p $TMP/$VERDOT/i386

# Se non vuoi qualcosa mettici un # :)
cd  $TMP/$VERDOT
$fp $MIR/ANNOUNCEMENT
$fp $MIR/HARDWARE
$fp $MIR/PACKAGES
$fp $MIR/PORTS
$fp $MIR/SIZES
$fp $MIR/XF4.tar.gz
$fp $MIR/ftplist
$fp $MIR/ports.tar.gz
$fp $MIR/root.mail
$fp $MIR/src.tar.gz
$fp $MIR/sys.tar.gz

cd  $TMP/$VERDOT/i386
$fp $MIRi/*

# Facciamo la iso
cd $TMP
mkisofs -vrTJV "OpenBSD-$VERDOT" -b $VERDOT/i386/cdrom$VER.fs -c boot.catalog -o \
/tmp/OpenBSD-$VERDOT.iso .
----cut here----

-- 
.signature not yet configured


Maggiori informazioni sulla lista bglug