📄 install.3
字号:
} break ;; 1 ) echo "The installation software was unable to install the supported softwaresubsets." continue ;; * ) echo -n "$MSG1" read ans ans=`echo $ans` case $ans in 2 ) N=2 continue ;; "" | * ) [ "$MUPSUPPORT" ] && { install.mup TAPE /dev/nrmt0h || exit 1 } break ;; esac ;; esac ;; esacdonecase $CPUTYPE inDS* | MVAX_I | MVAX_II | VAX3600 | VAX420 | VAX3400 | VAX60 | VAXSTAR) ed /usr/lib/crontab <<xxEOFxx 1>/dev/null /#BIGVAX/d .,/#END/d /#MICROVAX/d .,/#END/s/^#//g d w qxxEOFxx ed /etc/rc <<xxEOFxx 1>/dev/null /#MICROVAX/d .,/#END/s/^#//g d w qxxEOFxx ;;* ) ed /usr/lib/crontab <<xxEOFxx 1>/dev/null /#BIGVAX/d /#END/d /#MICROVAX/d .,/#END/d w qxxEOFxx ed /etc/rc <<xxEOFxx 1>/dev/null /#MICROVAX/d .,/#END/s/^#//g d w qxxEOFxx ;;esaccase $remoteflag iny ) IFCONF=`grep broadcast /netstart` ed /etc/rc.local <<xxEOFxx 1>/dev/null /broadcast/s@.*@$IFCONF@ w qxxEOFxx ;;n )# Setup network for local loopback. Netsetup will rearrange this when run. ed /etc/hosts <<xxxEOFxxx 1>/dev/null /localhost/s/\$/ $realsysname/p w qxxxEOFxxx ;;esacecho "dumps on $dump_d$dump_u$dump_p" > /install.tmp/.configcase "$swap2_p" in"" ) echo "swap on $swap1_d$swap1_u$swap1_p" >> /install.tmp/.config ;;* ) echo "swap on $swap1_d$swap1_u$swap1_p and $swap2_d$swap2_u$swap2_p" >> /install.tmp/.config ;;esaccase $MACHTYPE invax) echo "options EMULFLT " >> /install.tmp/.config ;;esaccase $ADVFLAG in0 | 2 ) echo "options QUOTAoptions INEToptions NFSoptions RPCoptions LAToptions DLIoptions UFSoptions DECNEToptions NETMANoptions SYS_TRACEpseudo-device ptypseudo-device looppseudo-device etherpseudo-device inetpseudo-device nfspseudo-device rpcpseudo-device latpseudo-device ltapseudo-device ufspseudo-device decnetpseudo-device netmanpseudo-device sys_tracepseudo-device dli " >> /install.tmp/.config ;;1 | 3 ) echo "options QUOTAoptions INEToptions NFSoptions RPCoptions DLIoptions UFSoptions NETMANpseudo-device nfspseudo-device rpcpseudo-device dli pseudo-device ptypseudo-device looppseudo-device ether pseudo-device ufs pseudo-device netmanpseudo-device inet " >> /install.tmp/.config while : do echo " *** CONFIGURATION FILE KERNEL OPTION SELECTION *** " echo -n " Selection Kernel Option --------------------------------------------------------------- 1 Local Area Transport (LAT) 2 Bisynchronous Communication protocol (VAX only) 3 Computer Interconnect (CI) network 4 Diagnostic/Utilities Protocol (DUP) 5 ISO9660 File System Support (CDFS) 6 Ethernet Packet Filter 7 Enhanced Security Features 8 DECnet 9 All of the above 10 None of the above----------------------------------------------------------------Enter the selection number for each kernel option you want.For example, 1 3 : " read ans ans=`echo $ans` case $ans in "" ) echo "You pressed the RETURN key without choosing one or more options. Youmust choose one or more options from the menu." continue ;; 10 ) echo "You chose not to specify any options from the menu. Thus, the installation software will not add any of these options to your configuration file. " ;; * ) case $ans in 9 ) ans="1 2 3 4 5 6 7 8" ;; esac echo "You specified the following kernel options: ${LL}" for i in $ans do case $i in 1 ) echo " Local Area Transport (LAT)" ;; 2 ) case $MACHTYPE in vax) echo " Bisynchronous Communication protocol" ;; esac ;; 3 ) echo " Computer Interconnect (CI) network" ;; 4 ) echo " Diagnostic/Utilities Protocol (DUP)" ;; 5 ) echo " ISO9660 File System Support (CDFS)" ;; 6 ) echo " Ethernet Packet Filter" ;; 7 ) echo " Enhanced Security Features" ;; 8 ) echo " DECnet" ;; * ) echo "You specified $i, which is an invalid response. Study the options provided in the following menu and enter a valid response. ${LL}" continue 2 ;; esac done ;; esac echo -n "Is this correct? (y/n) [n]: " read resp resp=`echo $resp` case $resp in [yY]* ) break ;; esac done case $ans in 10 ) ;; * ) for i in $ans do case $i in 1 ) echo "options LATpseudo-device latpseudo-device lta" >> /install.tmp/.config ;; 2 ) case $MACHTYPE in vax ) echo "options BSCpseudo-device bsc" >> /install.tmp/.config ;; esac ;; 3 ) echo "pseudo-device scsnet" >> /install.tmp/.config ;; 4 ) echo "pseudo-device msdup" >> /install.tmp/.config ;; 5 ) echo "options CDFSpseudo-device cdfs" >> /install.tmp/.config ;; 6 ) echo "options PACKETFILTERpseudo-device packetfilter" >> /install.tmp/.config ;; 7 ) echo "options AUDIToptions SYS_TPATHpseudo-device sys_tpathpseudo-device audit" >> /install.tmp/.config ;; 8 ) echo "options DECNETpseudo-device decnet" >> /install.tmp/.config ;; esac done ;; esac ;;esacrm -f /.minidevice /.advflag /restoresymtable /netstart > /dev/null syncsyncset xxx `cat /tmp/timezone` #came from doconfig -tshift; timezone=$*doconfig -i $realsysname $timezone [ ! -f $KERNELPATH/$sysname/vmunix ] &&{ echo "ERROR: Cannot find $KERNELPATH/$sysname/vmunix !!!Cannot continue with installation." exit 1}VMERROR=0if [ -f /vmunix ]then mv /vmunix /genvmunix case $? in 0 ) ;; * ) VMERROR=1 VMMESS="ERROR: An error occured while moving the generic kernel to /genvmunix!" ;; esacelse echo "WARNING: Could not find generic kernel!"fimv $KERNELPATH/$sysname/vmunix /vmunixcase $? in0 ) ;;* ) VMERROR=1 VMMESS="ERROR: Cannot move $KERNELPATH/$sysname/vmunix to /vmunix !!!An error occured while moving the $sysname customized kernel to /vmunix." ;;esaccase $VMERROR in1 ) (echo "$VMMESSThe system will boot using the generic kernel, after which it is recommendedthat the system administrator manually copy the generic kernel to /genvmunixusing the following command: mv /vmunix /genvmunixand then move the system customized kernel to /vmunix using the followingcommand: mv $KERNELPATH/$sysname/vmunix /vmunix " 2>&1) | tee /tmp/notice ;;esacmv /FILESYS.log /usr/adm/install.FS.logcp /dev/MAKEDEV.log /usr/adm/install.DEV.log(echo "*** SOFTWARE INSTALLATION PROCEDURE COMPLETE ***The following files were created during the installation procedure:/vmunix - customized kernel/genvmunix - generic kernel/usr/adm/install.log - installation log file/usr/adm/install.FS.log - file systems log file/usr/adm/install.DEV.log - special device log file" 2>&1) | tee /tmp/noticecat /tmp/notice >> /etc/motdsynccase $CPUTYPE inDS* ) > /tmp/reboot ;;MVAX_I | MVAX_II | VAX3600 ) case $root_u in 0 ) > /tmp/reboot ;; * ) dd if=/tmp/showboot 2>/dev/null ;; esac ;;VAX780 | VAX730 | VAX8600 | VAX750 | VAX8200 ) echo "*** CONSOLE MEDIA UPDATE ***" sh /usr/etc/mkconsole /genvmunix case $? in 0 ) case ${CPUTYPE} in VAX750 ) # connect to HSCCI while : do echo "Set the front switch labeled "BOOT DEVICE", to the postion which boots your cassette. " echo -n "Press the RETURN key when ready to reboot. " read ans ans=`echo $ans` case $ans in "" ) > /tmp/reboot break ;; esac done ;; VAX8200 ) echo "Wait for the message indicating that the processor can be halted.You halt the processor by entering ^P (CTRL/P, to display the console mode prompt.)Enter the following command at the console mode prompt to boot the default system disk. >>> b csa1" ;; VAX730 ) while : do echo -n "Press the RETURN key when you are ready. " read ans ans=`echo $ans` case $ans in "" ) break ;; esac done ;; esac > /tmp/reboot ;; 2 ) # local disk case ${CPUTYPE} in VAX750 ) case $root_u in 0 ) while : do echo "Set the front switch labeled "BOOT DEVICE", to the postion which boots your system disk. " echo -n "Press the RETURN key when ready to reboot. " read ans ans=`echo $ans` case $ans in "" ) > /tmp/reboot break ;; esac done ;; * ) dd if=/tmp/showboot 2>/dev/null ;; esac ;; * ) dd if=/tmp/showboot 2>/dev/null ;; esac ;; esac ;;VAX6200 | VAX6400 | VAX3400) sh /usr/etc/mkconsole /genvmunix echo "Wait until the installation software halts the processor. " ;;* ) # VAX420 VAX8800 dd if=/tmp/showboot 2>/dev/null ;;esacexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -