06.12.2012 Aufrufe

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

4.3.6 JumpStart-Scripten 67<br />

4.3.6.3 postboot<br />

#!/bin/sh<br />

##<br />

## postboot - Dieses Script wird NACH dem ersten Reboot ausgefuehrt<br />

##<br />

# log to /var/sadm/system/logs/postboot.log<br />

if [ -t 1 ]<br />

then<br />

sh $0 2>&1 | tee /var/sadm/system/logs/postboot.log<br />

exit 0<br />

fi<br />

###########################################################################<br />

# Root-Verzeichnis des zu installierenden Rechners<br />

ROOT=''<br />

# Mointpoint der Installationsdateien<br />

MNT=/home1/install/JumpStart/ki<br />

# Hilfsfunktionen & Variablen nachladen<br />

. $MNT/misc<br />

###########################################################################<br />

#<br />

# CDE installieren<br />

#<br />

if [ -f ${MNT}/../CDE/install-cde ]<br />

then<br />

owd=`pwd`<br />

cd ${MNT}/../CDE<br />

./install-cde -dev<br />

cd $owd<br />

fi<br />

#<br />

# fvwm for CDE<br />

#<br />

if [ -d $ROOT/usr/dt/config -a \<br />

! -f $ROOT/usr/dt/config/C/Xresources.d/Xresources.fvwm2 ] ; then<br />

echo "Common Desktop Environment \c"<br />

cat $MNT/setup/CDE.tar | ( cd $ROOT/. ; tar xf - )<br />

echo updated for fvwm-login.<br />

fi<br />

#<br />

# Patches installieren<br />

#<br />

PATCHDIRS="${MNT}/../../Patches ${MNT}/../CDE/Patches/sparc ${MNT}/patches"<br />

for PATCHDIR in $PATCHDIRS<br />

do<br />

if [ -d $PATCHDIR/. ] ;<br />

then<br />

for i in `find $PATCHDIR/. -name '[0-9]*-[0-9]*[0-9]' -print`<br />

do<br />

if [ -f $i/installpatch ] ; then<br />

owd=`pwd`<br />

(c) 1996-2003 <strong>Hubert</strong> <strong>Feyrer</strong> Stand: 21. Oktober 2003

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!