os4_bsd_freebsd_misc_bin_freebsd-cvsuprun.sh
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| os4_bsd_freebsd_misc_bin_freebsd-cvsuprun.sh [2016-04-12 22:49:58] – angelegt - Externe Bearbeitung 127.0.0.1 | os4_bsd_freebsd_misc_bin_freebsd-cvsuprun.sh [2024-02-12 12:32:06] (aktuell) – manfred | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== os4_bsd_freebsd_misc_bin_freebsd-cvsuprun.sh ====== | ||
| + | |||
| + | |||
| + | ===== FreeBSD 4.7 ===== | ||
| + | |||
| + | #!/bin/sh | ||
| + | # Dieses Script macht ein FreeBSD-UPDATE, | ||
| + | ################################################################################ | ||
| + | # | ||
| + | # $ FreeBSD-cvsuprun.sh | ||
| + | # | ||
| + | # Es wird alles vorbereitet! | ||
| + | # - evtl. CVSUP installiert (nur, wenn nicht schon vorhanden) | ||
| + | # - wenn " | ||
| + | # - wenn " | ||
| + | # - wenn " | ||
| + | # - das SYSTEM wird neu kompiliert | ||
| + | # - der GENERIC-Kernel wird kompiliert | ||
| + | # - der MYKERNEL-Kernel wird kompiliert | ||
| + | # Diesen Aufruf kann man im Hintergrund beim normalen arbeiten am Rechner | ||
| + | # laufen lassen und sollte anschliessend die Installation im Singleusermode | ||
| + | # durchfuehren. | ||
| + | # Nach dem der Vorgang mit " | ||
| + | # Neustart durchgefuehrt werden! | ||
| + | # | ||
| + | ################################################################################ | ||
| + | # | ||
| + | # $ FreeBSD-cvsuprun.sh | ||
| + | # | ||
| + | # Alles wie oben, und anschliessend noch folgendes: | ||
| + | # - GENERIC-Kernel wird installiert | ||
| + | # - GENERIC-Kernel wird nach / | ||
| + | # - MYKERNEL-Kernel wird installiert | ||
| + | # - das neue SYSTEM wird installiert | ||
| + | # - das Programm " | ||
| + | # Wenn das Script mit dem Parameter " | ||
| + | # anderes Programm laufen, da die alten Bibliotheken am Ende der Installation | ||
| + | # ueberschrieben werden, und dadurch Konflikte auftreten koennen. | ||
| + | # Nach dem der Vorgang mit " | ||
| + | # Neustart durchgefuehrt werden! | ||
| + | # | ||
| + | ################################################################################ | ||
| + | # Dieses Script ueberprueft ob die folgenden individuelle Konfigurationsdateien | ||
| + | # im System vorhanden sind: | ||
| + | # "/ | ||
| + | # "/ | ||
| + | # " | ||
| + | # " | ||
| + | # " | ||
| + | # Sowie das CVSUP-Programm "/ | ||
| + | # Wenn eine der Konfigurationsdateien nicht vorhanden ist, wird sie nach den | ||
| + | # Angaben im folgenden Variablenblock angelegt. | ||
| + | # Ist CVSUP nicht installiert, | ||
| + | # | ||
| + | # Sind dann alle Vorraussetzungen geschaffen fuer ein Update, | ||
| + | # werden die Quellen aktuallisiert und anschliessend ein "make buildworld" | ||
| + | # sowie / | ||
| + | # / | ||
| + | # ausgefuehrt und anschliessend die folgenden noetigen Schritte ausgegeben! | ||
| + | ################################################################################ | ||
| + | ######## VARIABLEN | ||
| + | ################################################################################ | ||
| + | # | ||
| + | SRCRELEASE=" | ||
| + | DOCSUP=" | ||
| + | STABLESUP=" | ||
| + | PORTSSUP=" | ||
| + | CPUSRC=" | ||
| + | CPUKERN=" | ||
| + | SERVERKERN=" | ||
| + | KERNELCONFIG="/ | ||
| + | KERNIDENT=" | ||
| + | CPUPLUSEXTRAS=" | ||
| + | # | ||
| + | ################################################################################ | ||
| + | ######## VARIABLEN | ||
| + | ################################################################################ | ||
| + | | ||
| + | case $CPUPLUSEXTRAS in | ||
| + | [Yy][Ee][Ss]) | ||
| + | CPUEXTRAS=" | ||
| + | | ||
| + | options CPU_ENABLE_SSE | ||
| + | options CPU_FASTER_5X86_FPU | ||
| + | options CPU_SUSP_HLT | ||
| + | " | ||
| + | | ||
| + | ;; | ||
| + | *) | ||
| + | CPUEXTRAS="" | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | ################################################################################ | ||
| + | # Wenn CVSUP noch nicht installiert ist, wird es jetzt installiert! | ||
| + | # | ||
| + | # Eventuell muss der Pfad zum Paket von Hand angegeben werden: | ||
| + | # / | ||
| + | ################################################################################ | ||
| + | if test -f / | ||
| + | then | ||
| + | echo "/ | ||
| + | else | ||
| + | echo "Bitte warten, / | ||
| + | #set PACKAGESITE ftp:// | ||
| + | #export PACKAGESITE | ||
| + | / | ||
| + | #pkg_add ftp:// | ||
| + | fi | ||
| + | ################################################################################ | ||
| + | | ||
| + | echo "Es wird auf $SRCRELEASE upgedatet!" | ||
| + | | ||
| + | ################################################################################ | ||
| + | # SOURCE-tree update | ||
| + | | ||
| + | if [ -f / | ||
| + | echo "/ | ||
| + | else | ||
| + | echo "/ | ||
| + | echo " | ||
| + | #*default host=cvsup.FreeBSD.org | ||
| + | *default host=cvsup.uk.FreeBSD.org | ||
| + | #*default host=cvsup.de.FreeBSD.org | ||
| + | *default base=/usr | ||
| + | *default prefix=/usr | ||
| + | *default release=cvs | ||
| + | *default tag=$SRCRELEASE | ||
| + | *default delete use-rel-suffix | ||
| + | *default compress | ||
| + | src-all | ||
| + | " > / | ||
| + | fi | ||
| + | | ||
| + | ################################################################################ | ||
| + | # PORTS-tree update | ||
| + | | ||
| + | if [ -f / | ||
| + | echo "/ | ||
| + | else | ||
| + | echo "/ | ||
| + | echo " | ||
| + | #*default host=cvsup.FreeBSD.org | ||
| + | *default host=cvsup.uk.FreeBSD.org | ||
| + | #*default host=cvsup.de.FreeBSD.org | ||
| + | *default base=/usr | ||
| + | *default prefix=/usr | ||
| + | *default release=cvs | ||
| + | *default tag=. | ||
| + | *default delete use-rel-suffix | ||
| + | *default compress | ||
| + | ports-all | ||
| + | " > / | ||
| + | fi | ||
| + | | ||
| + | ################################################################################ | ||
| + | # DOC-tree update | ||
| + | | ||
| + | if [ -f / | ||
| + | echo "/ | ||
| + | else | ||
| + | echo "/ | ||
| + | echo " | ||
| + | #*default host=cvsup.FreeBSD.org | ||
| + | *default host=cvsup.uk.FreeBSD.org | ||
| + | #*default host=cvsup.de.FreeBSD.org | ||
| + | *default base=/usr | ||
| + | *default prefix=/usr | ||
| + | *default release=cvs | ||
| + | *default tag=. | ||
| + | *default delete use-rel-suffix | ||
| + | *default compress | ||
| + | doc-all | ||
| + | " > / | ||
| + | fi | ||
| + | | ||
| + | ################################################################################ | ||
| + | ######## MYKERNEL ############################################################## | ||
| + | ################################################################################ | ||
| + | | ||
| + | mkdir -p /usr/obj/ | ||
| + | mkdir -p / | ||
| + | | ||
| + | if [ -f ${KERNELCONFIG} ] ; then | ||
| + | echo " | ||
| + | else | ||
| + | echo " | ||
| + | | ||
| + | case $SCHALTER in | ||
| + | [Yy][Ee][Ss]) | ||
| + | echo "Es wird ein auf ' | ||
| + | echo " | ||
| + | ######## GENERIC ############################################################### | ||
| + | machine | ||
| + | cpu | ||
| + | ident | ||
| + | maxusers | ||
| + | | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | | ||
| + | | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | pseudo-device | ||
| + | pseudo-device | ||
| + | pseudo-device | ||
| + | pseudo-device | ||
| + | | ||
| + | ######## LINT ################################################################## | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | options | ||
| + | | ||
| + | $CPUEXTRAS | ||
| + | | ||
| + | ######## SCSI ################################################################## | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | | ||
| + | ######## USB ################################################################### | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | device | ||
| + | ################################################################################ | ||
| + | " > ${KERNELCONFIG} | ||
| + | ;; | ||
| + | *) | ||
| + | echo "Es wird ein ' | ||
| + | echo " | ||
| + | ################################################################################ | ||
| + | machine i386 | ||
| + | cpu | ||
| + | ident | ||
| + | maxusers 0 | ||
| + | | ||
| + | makeoptions DEBUG=-g # | ||
| + | | ||
| + | options INET # | ||
| + | options INET6 # | ||
| + | options FFS # | ||
| + | options FFS_ROOT # | ||
| + | options SOFTUPDATES # | ||
| + | options UFS_DIRHASH # | ||
| + | options MFS # | ||
| + | options MD_ROOT # | ||
| + | options NFS # | ||
| + | options MSDOSFS # | ||
| + | options CD9660 # | ||
| + | options CD9660_ROOT # | ||
| + | options PROCFS # | ||
| + | options COMPAT_43 # | ||
| + | options SCSI_DELAY=15000 # | ||
| + | options UCONSOLE # | ||
| + | options USERCONFIG # | ||
| + | options VISUAL_USERCONFIG # | ||
| + | options KTRACE # | ||
| + | options SYSVSHM # | ||
| + | options SYSVMSG # | ||
| + | options SYSVSEM # | ||
| + | options P1003_1B # | ||
| + | options _KPOSIX_PRIORITY_SCHEDULING | ||
| + | options ICMP_BANDLIM # | ||
| + | options KBD_INSTALL_CDEV # | ||
| + | | ||
| + | | ||
| + | device isa | ||
| + | device pci | ||
| + | | ||
| + | device fdc0 at isa? port IO_FD1 irq 6 drq 2 | ||
| + | device fd0 at fdc0 drive 0 | ||
| + | device fd1 at fdc0 drive 1 | ||
| + | | ||
| + | device ata0 at isa? port IO_WD1 irq 14 | ||
| + | device ata1 at isa? port IO_WD2 irq 15 | ||
| + | device ata | ||
| + | device atadisk # | ||
| + | device atapicd # | ||
| + | device atapifd # | ||
| + | device atapist # | ||
| + | options ATA_STATIC_ID # | ||
| + | | ||
| + | device ahc # | ||
| + | device amd # | ||
| + | device sym # | ||
| + | | ||
| + | | ||
| + | | ||
| + | device scbus # | ||
| + | device da # | ||
| + | device sa # | ||
| + | device cd # | ||
| + | device pass # | ||
| + | | ||
| + | | ||
| + | | ||
| + | device atkbdc0 at isa? port IO_KBD | ||
| + | device atkbd0 at atkbdc? irq 1 flags 0x1 | ||
| + | device psm0 at atkbdc? irq 12 | ||
| + | | ||
| + | device vga0 at isa? | ||
| + | | ||
| + | pseudo-device splash | ||
| + | | ||
| + | device sc0 at isa? flags 0x100 | ||
| + | | ||
| + | | ||
| + | device npx0 at nexus? port IO_NPX irq 13 | ||
| + | | ||
| + | device apm0 | ||
| + | | ||
| + | | ||
| + | device sio0 at isa? port IO_COM1 flags 0x10 irq 4 | ||
| + | device sio1 at isa? port IO_COM2 irq 3 | ||
| + | | ||
| + | device ppc0 at isa? irq 7 | ||
| + | device ppbus # | ||
| + | device lpt # | ||
| + | device plip # | ||
| + | device ppi # | ||
| + | | ||
| + | | ||
| + | | ||
| + | device miibus # | ||
| + | device dc # | ||
| + | device fxp # | ||
| + | device rl # | ||
| + | device tx # | ||
| + | device wb # | ||
| + | device xl # | ||
| + | | ||
| + | | ||
| + | pseudo-device loop # | ||
| + | pseudo-device ether # | ||
| + | pseudo-device ppp 1 # | ||
| + | pseudo-device tun # | ||
| + | pseudo-device pty # | ||
| + | pseudo-device md # | ||
| + | pseudo-device gif # | ||
| + | pseudo-device faith 1 # | ||
| + | | ||
| + | pseudo-device bpf # | ||
| + | | ||
| + | device uhci # | ||
| + | device ohci # | ||
| + | device usb # | ||
| + | device ugen # | ||
| + | device uhid # | ||
| + | device ukbd # | ||
| + | device ulpt # | ||
| + | device umass # | ||
| + | device ums # | ||
| + | device uscanner # | ||
| + | device urio # | ||
| + | device aue # | ||
| + | device cue # | ||
| + | device kue # | ||
| + | | ||
| + | device | ||
| + | | ||
| + | options | ||
| + | | ||
| + | options | ||
| + | | ||
| + | | ||
| + | | ||
| + | # Certain applications can grow to be larger than the 128M limit | ||
| + | # that FreeBSD initially imposes. | ||
| + | # allow that limit to grow to 256MB, and can be increased further | ||
| + | # with changing the parameters. | ||
| + | # limit can be set to, and the DFLDSIZ is the default value for | ||
| + | # the limit. | ||
| + | # set to. You might want to set the default lower than the max, | ||
| + | # and explicitly set the maximum with a shell command for processes | ||
| + | # that regularly exceed the limit like INND. | ||
| + | # | ||
| + | options MAXDSIZ=\" | ||
| + | options MAXSSIZ=\" | ||
| + | options DFLDSIZ=\" | ||
| + | | ||
| + | $CPUEXTRAS | ||
| + | | ||
| + | options IPFIREWALL # | ||
| + | options IPFIREWALL_VERBOSE # | ||
| + | options IPFIREWALL_DEFAULT_TO_ACCEPT # | ||
| + | | ||
| + | # | ||
| + | # TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This | ||
| + | # prevents nmap et al. from identifying the TCP/IP stack, but breaks support | ||
| + | # for RFC1644 extensions and is not recommended for web servers. | ||
| + | # | ||
| + | options TCP_DROP_SYNFIN # | ||
| + | | ||
| + | # The rest are optional: | ||
| + | options NFS_NOSERVER # | ||
| + | options CD9660 # | ||
| + | options FDESC # | ||
| + | options KERNFS # | ||
| + | options MSDOSFS # | ||
| + | options NULLFS # | ||
| + | options PORTAL # | ||
| + | options PROCFS # | ||
| + | | ||
| + | # Add support for the EXT2FS filesystem of Linux fame. Be a bit | ||
| + | # careful with this - the ext2fs code has a tendency to lag behind | ||
| + | # changes and not be exercised very much, so mounting read/write could | ||
| + | # be dangerous (and even mounting read only could result in panics.) | ||
| + | # | ||
| + | options EXT2FS | ||
| + | | ||
| + | ##################################################################### | ||
| + | # CLOCK OPTIONS | ||
| + | | ||
| + | # The granularity of operation is controlled by the kernel option HZ whose | ||
| + | # default value (100) means a granularity of 10ms (1s/HZ). | ||
| + | # Some subsystems, such as DUMMYNET or DEVICE_POLLING, | ||
| + | # a smaller granularity such as 1ms or less. | ||
| + | # Consider, however, that reducing the granularity too much might | ||
| + | # cause excessive overhead in clock interrupt processing, | ||
| + | # potentially causing ticks to be missed and thus actually reducing | ||
| + | # the accuracy of operation. | ||
| + | | ||
| + | options HZ=100 | ||
| + | | ||
| + | # | ||
| + | # PCI devices & PCI options: | ||
| + | # | ||
| + | # The main PCI bus device is `pci' | ||
| + | # configuration support for all devices on the PCI bus, using either | ||
| + | # configuration mode defined in the PCI specification. | ||
| + | | ||
| + | device pci | ||
| + | | ||
| + | # PCI options | ||
| + | # | ||
| + | #Enable pci resources left off by a ' | ||
| + | options PCI_ENABLE_IO_MODES | ||
| + | #options PCI_QUIET # | ||
| + | | ||
| + | | ||
| + | # The `ahc' device provides support for the Adaptec 29/ | ||
| + | # and motherboard based AIC7870/ | ||
| + | # | ||
| + | # The `amd' device provides support for the AMD 53C974 SCSI host | ||
| + | # adapter chip as found on devices such as the Tekram DC-390(T). | ||
| + | # | ||
| + | # The `bge' device provides support for gigabit ethernet adapters | ||
| + | # based on the Broadcom BCM570x familiy of controllers, | ||
| + | # 3Com 3c996-T, the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, | ||
| + | # and the embedded gigE NICs on Dell PowerEdge 2550 servers. | ||
| + | # | ||
| + | # The `ncr' device provides support for the NCR 53C810 and 53C825 | ||
| + | # self-contained SCSI host adapters. | ||
| + | # | ||
| + | # The `isp' device provides support for the Qlogic ISP 1020, 1040 | ||
| + | # nd 1040B PCI SCSI host adapters, ISP 1240 Dual Ultra SCSI, | ||
| + | # ISP 1080 and 1280 (Dual) Ultra2, ISP 12160 Ultra3 SCSI, as well as | ||
| + | # the Qlogic ISP 2100 and ISP 2200 Fibre Channel Host Adapters. | ||
| + | # | ||
| + | # The `dc' device provides support for PCI fast ethernet adapters | ||
| + | # based on the DEC/Intel 21143 and various workalikes including: | ||
| + | # the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics | ||
| + | # AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On | ||
| + | # 82c168 and 82c169 PNIC, the Lite-On/ | ||
| + | # and the Macronix 98713/ | ||
| + | # replaces the old al, ax, dm, pn and mx drivers. | ||
| + | # Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, | ||
| + | # SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, | ||
| + | # LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204, | ||
| + | # KNE110TX. | ||
| + | # | ||
| + | # The `de' device provides support for the Digital Equipment DC21040 | ||
| + | # self-contained Ethernet adapter. | ||
| + | # | ||
| + | # The `em' device provides support for the Intel Pro/1000 Family of Gigabit | ||
| + | # adapters (82542, 82543, 82544, 82540). | ||
| + | # | ||
| + | # The `fxp' device provides support for the Intel EtherExpress Pro/100B | ||
| + | # PCI Fast Ethernet adapters. | ||
| + | # | ||
| + | # The `gx' device provides support for the Intel Pro/1000 Gigabit Ethernet | ||
| + | # PCI adapters (82542, 82543-F, 82543-T). | ||
| + | # | ||
| + | # The ' | ||
| + | # based on the Level 1 LXT1001 NetCellerator chipset. This includes the | ||
| + | # D-Link DGE-500SX, SMC TigerCard 1000 (SMC9462SX), | ||
| + | # | ||
| + | # The ' | ||
| + | # based on the National Semiconductor DP83820 and DP83821 chipset. This | ||
| + | # includes the SMC EZ Card 1000 (SMC9462TX), | ||
| + | # FriendlyNet GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the | ||
| + | # LinkSys EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T. | ||
| + | # | ||
| + | # The ' | ||
| + | # on the AMD Am79c97x chipsets, including the PCnet/FAST, PCnet/ | ||
| + | # PCnet/PRO and PCnet/Home. These were previously handled by the lnc | ||
| + | # driver (and still will be if you leave this driver out of the kernel). | ||
| + | # | ||
| + | # The ' | ||
| + | # on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults | ||
| + | # to using programmed I/O to do register accesses because memory mapped | ||
| + | # mode seems to cause severe lockups on SMP hardware. This driver also | ||
| + | # supports the Accton EN1207D `Cheetah' | ||
| + | # the MPX 5030/5038, which is either a RealTek in disguise or a RealTek | ||
| + | # workalike. | ||
| + | # and is supported by this driver, not the ' | ||
| + | # | ||
| + | # The ' | ||
| + | # ethernet adapters based on the Adaptec AIC-6915 \" | ||
| + | # This includes dual and quad port cards, as well as one 100baseFX card. | ||
| + | # Most of these are 64-bit PCI devices, except for one single port | ||
| + | # card which is 32-bit. | ||
| + | # | ||
| + | # The ' | ||
| + | # Technologies ST201 PCI fast ethernet controller. This includes the | ||
| + | # D-Link DFE-550TX. | ||
| + | # | ||
| + | # The ' | ||
| + | # Integrated Systems SiS 900 and SiS 7016 PCI fast ethernet controller | ||
| + | # chips. | ||
| + | # | ||
| + | # The ' | ||
| + | # PCI gigabit ethernet NICs. This includes the SK-9841 and SK-9842 | ||
| + | # single port cards (single mode and multimode fiber) and the | ||
| + | # SK-9843 and SK-9844 dual port cards (also single mode and multimode). | ||
| + | # The driver will autodetect the number of ports on the card and | ||
| + | # attach each one as a separate network interface. | ||
| + | # | ||
| + | # The ' | ||
| + | # on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the | ||
| + | # Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others. | ||
| + | # Note that you will probably want to bump up NMBCLUSTERS a lot to use | ||
| + | # this driver. | ||
| + | # | ||
| + | # The ' | ||
| + | # series ' | ||
| + | # includes several Compaq Netelligent 10/100 cards and the built-in | ||
| + | # ethernet controllers in several Compaq Prosignia, Proliant and | ||
| + | # Deskpro systems. It also supports several Olicom 10Mbps and 10/100 | ||
| + | # boards. | ||
| + | # | ||
| + | # The `tx' device provides support for the SMC 9432 TX, BTX and FTX cards. | ||
| + | # | ||
| + | # The `txp' device provides support for the 3Com 3cR990 \" | ||
| + | # 10/100 adapters. | ||
| + | # | ||
| + | # The `vr' device provides support for various fast ethernet adapters | ||
| + | # based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' | ||
| + | # chips, including the D-Link DFE530TX (see ' | ||
| + | # Technologies PN102TX, and the AOpen/Acer ALN-320. | ||
| + | # | ||
| + | # The `vx' device provides support for the 3Com 3C590 and 3C595 | ||
| + | # early support | ||
| + | # | ||
| + | # The `wb' device provides support for various fast ethernet adapters | ||
| + | # based on the Winbond W89C840F chip. Note: this is not the same as | ||
| + | # the Winbond W89C940F, which is an NE2000 clone. | ||
| + | # | ||
| + | # The `wx' device provides support for the Intel Gigabit Ethernet | ||
| + | # PCI card (`Wiseman' | ||
| + | # | ||
| + | # The `xl' device provides support for the 3Com 3c900, 3c905 and | ||
| + | # 3c905B (Fast) Etherlink XL cards and integrated controllers. This | ||
| + | # includes the integrated 3c905B-TX chips in certain Dell Optiplex and | ||
| + | # Dell Precision desktop machines and the integrated 3c905-TX chips | ||
| + | # in Dell Latitude laptop docking stations. | ||
| + | # | ||
| + | # The `fpa' device provides support for the Digital DEFPA PCI FDDI | ||
| + | # adapter. pseudo-device fddi is also needed. | ||
| + | # | ||
| + | # The `meteor' | ||
| + | # following options: | ||
| + | # | ||
| + | # figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/ | ||
| + | # | ||
| + | # | ||
| + | # specified amount. If this value is below the allocated amount no action | ||
| + | # taken | ||
| + | # | ||
| + | # for initialization of fps routine when a signal is not present. | ||
| + | # | ||
| + | # The ' | ||
| + | # bt848/ | ||
| + | # TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, | ||
| + | # Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. | ||
| + | # | ||
| + | # options OVERRIDE_CARD=xxx | ||
| + | # options OVERRIDE_TUNER=xxx | ||
| + | # options OVERRIDE_MSP=1 | ||
| + | # options OVERRIDE_DBX=1 | ||
| + | # These options can be used to override the auto detection | ||
| + | # The current values for xxx are found in src/ | ||
| + | # Using sysctl(8) run-time overrides on a per-card basis can be made | ||
| + | # | ||
| + | # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL | ||
| + | # or | ||
| + | # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC | ||
| + | # Specifes the default video capture mode. | ||
| + | # This is required for Dual Crystal (28& | ||
| + | # to prevent hangs during initialisation. | ||
| + | # | ||
| + | # options BKTR_USE_PLL | ||
| + | # PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) | ||
| + | # must enable PLL mode with this option. eg some new Bt878 cards. | ||
| + | # | ||
| + | # options BKTR_GPIO_ACCESS | ||
| + | # This enable IOCTLs which give user level access to the GPIO port. | ||
| + | # | ||
| + | # options BKTR_NO_MSP_RESET | ||
| + | # Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first | ||
| + | # | ||
| + | # options BKTR_430_FX_MODE | ||
| + | # Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. | ||
| + | # | ||
| + | # options BKTR_SIS_VIA_MODE | ||
| + | # Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is | ||
| + | # needed for some old SiS and VIA chipset motherboards. | ||
| + | # This also allows Bt878/879 chips to work on old OPTi (<1997) chipset | ||
| + | # motherboards and motherboards with bad or incomplete PCI 2.1 support. | ||
| + | # As a rough guess, old = before 1998 | ||
| + | # | ||
| + | # | ||
| + | # Options for ISP | ||
| + | # | ||
| + | # | ||
| + | #options ISP_TARGET_MODE=1 | ||
| + | | ||
| + | # Options used in dev/sym/ (Symbios SCSI driver). | ||
| + | #options SYM_SETUP_LP_PROBE_MAP # | ||
| + | # Allows the ncr to take precedence | ||
| + | # 1 (1<< | ||
| + | # 2 (1<< | ||
| + | # 4 (1<< | ||
| + | #options SYM_SETUP_SCSI_DIFF # | ||
| + | # disabled:0 (default), enabled:1 | ||
| + | options SYM_SETUP_PCI_PARITY # | ||
| + | # disabled:0, enabled:1 (default) | ||
| + | #options SYM_SETUP_MAX_LUN # | ||
| + | # default:8, range: | ||
| + | | ||
| + | # Set the number of sf_bufs to allocate. sf_bufs are virtual buffers | ||
| + | # for sendfile(2) that are used to map file VM pages, and normally | ||
| + | # default to a quantity that is roughly 16*MAXUSERS+512. You would | ||
| + | # typically want about 4 of these for each simultaneous file send. | ||
| + | # | ||
| + | options NSFBUFS=1024 | ||
| + | | ||
| + | # Set the size of the buffer cache KVM reservation, | ||
| + | # scaled by approximately 16384 bytes. | ||
| + | # cache if this option is not specified. | ||
| + | # | ||
| + | options NBUF=512 | ||
| + | | ||
| + | # Set the size of the mbuf KVM reservation, | ||
| + | # by approximately 2048 bytes. | ||
| + | # to (512 + maxusers*16) if this option is not specified. | ||
| + | # maxusers is in turn computed at boot time depending on available memory | ||
| + | # or set to the value specified by \" | ||
| + | # autoscaling). | ||
| + | # So, to take advantage of autoscaling, | ||
| + | # NMBCLUSTERS and MAXUSERS (and NMBUFS) from your kernel config. | ||
| + | # | ||
| + | options NMBCLUSTERS=1024 | ||
| + | | ||
| + | # Set the number of mbufs available in the system. Each mbuf | ||
| + | # consumes 256 bytes. The system will autosize this (to 4 times | ||
| + | # the number of NMBCLUSTERS, | ||
| + | # if this option is not specified. | ||
| + | # | ||
| + | options NMBUFS=4096 | ||
| + | | ||
| + | # Tune the kernel malloc area parameters. | ||
| + | # minimum, in bytes, and is typically (12*1024*1024) (12MB). | ||
| + | # VM_KMEM_SIZE_MAX represents the maximum, typically 200 megabytes. | ||
| + | # VM_KMEM_SIZE_SCALE can be set to adjust the auto-tuning factor, which | ||
| + | # typically defaults to 4 (kernel malloc area size is physical memory | ||
| + | # divided by the scale factor). | ||
| + | # | ||
| + | options VM_KMEM_SIZE=\" | ||
| + | options VM_KMEM_SIZE_MAX=\" | ||
| + | options VM_KMEM_SIZE_SCALE=\" | ||
| + | | ||
| + | # Set the amount of time (in seconds) the system will wait before | ||
| + | # rebooting automatically when a kernel panic occurs. | ||
| + | # the system will wait indefinitely until a key is pressed on the | ||
| + | # console. | ||
| + | options PANIC_REBOOT_WAIT_TIME=16 | ||
| + | ################################################################################ | ||
| + | " > ${KERNELCONFIG} | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | fi | ||
| + | |||
| + | ################################################################################ | ||
| + | | ||
| + | if [ -f / | ||
| + | echo "/ | ||
| + | else | ||
| + | echo "/ | ||
| + | echo " | ||
| + | CPUTYPE=" | ||
| + | BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings | ||
| + | USA_RESIDENT= | ||
| + | MASTER_SITE_BACKUP? | ||
| + | MASTER_SITE_OVERRIDE? | ||
| + | MASTER_SORT_REGEX? | ||
| + | SUP_UPDATE= | ||
| + | SUP= / | ||
| + | SUPFLAGS= | ||
| + | SUPHOST= | ||
| + | SUPFILE= | ||
| + | PORTSSUPFILE= | ||
| + | DOC_LANG= | ||
| + | # | ||
| + | ################################################################################ | ||
| + | # Siehe / | ||
| + | ################################################################################ | ||
| + | # | ||
| + | " > / | ||
| + | fi | ||
| + | |||
| + | ################################################################################ | ||
| + | | ||
| + | cd /usr/obj | ||
| + | chflags -R noschg * | ||
| + | rm -fr * | ||
| + | | ||
| + | cd /var/tmp | ||
| + | chflags -R noschg temproot | ||
| + | rm -fr temproot | ||
| + | | ||
| + | cd /usr | ||
| + | |||
| + | ################################################################################ | ||
| + | | ||
| + | case $DOCSUP in | ||
| + | [Yy][Ee][Ss]) | ||
| + | / | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | case $STABLESUP in | ||
| + | [Yy][Ee][Ss]) | ||
| + | echo "Es wird fuer \" | ||
| + | / | ||
| + | cd /usr/src/ && \ | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | case $PORTSSUP in | ||
| + | [Yy][Ee][Ss]) | ||
| + | / | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | ################################################################################ | ||
| + | | ||
| + | case $1 in | ||
| + | [Ii][Nn][Ss][Tt][Aa][Ll][Ll]) | ||
| + | cd /usr/src && \ | ||
| + | / | ||
| + | cp /kernel / | ||
| + | / | ||
| + | / | ||
| + | mergemaster | ||
| + | ;; | ||
| + | esac | ||
| + | | ||
| + | ################################################################################ | ||
| + | |||
| + | echo " | ||
| + | ################################################################################ | ||
| + | Wenn Sie das System updaten wollen muessen Sie folgende Befehle eingeben: | ||
| + | cd /usr/src | ||
| + | / | ||
| + | oder | ||
| + | / | ||
| + | / | ||
| + | Nach dem Start im Single-User-Mode (boot kernel -s / kernel -s): | ||
| + | ' | ||
| + | /sbin/mount -a | ||
| + | /usr/bin/su - | ||
| + | cd /usr/src | ||
| + | / | ||
| + | mergemaster | ||
| + | / | ||
| + | " | ||
| + | ################################################################################ | ||
