Annotation of coherent/f/conf/Coh_400.post, revision 1.1.1.1

1.1       root        1: : Coh_400.post  07/14/92
                      2: : COHERENT Version 4.0.0
                      3: : Installation postprocessing.
                      4: 
                      5: : Optionally uncompress online manual pages.
                      6: MANPAGES=/usr/man/man.tar
                      7: echo '
                      8: cThe online COHERENT manual pages in /usr/man are shipped in compressed form.
                      9: The compressed manual pages use about 2000 blocks (1 MB) of disk space.
                     10: The uncompressed manual pages use about 5000 blocks (2.5 MB).
                     11: You can either:
                     12:        1) Remove the manual pages,
                     13:        2) Leave the manual pages compressed, or
                     14:        3) Uncompress the manual pages.
                     15: The "man" command will work only if you uncompress the manual pages (option 3).
                     16: '
                     17: flag=1
                     18: while [ $flag -eq 1 ]
                     19: do
                     20:        echo -n 'Please choose an option: '
                     21:        read x
                     22:        flag=0
                     23:        case $x in
                     24:        1*)     rm $MANPAGES.Z;;
                     25:        2*)     echo Leaving manual pages compressed in $MANPAGES.Z;;
                     26:        3*)     echo Extracting, please wait...
                     27:                echo 'Note: ignore any "inode busy" messages.'
                     28:                zcat $MANPAGES.Z | tar xofm -
                     29:                rm $MANPAGES.Z
                     30:                echo Uncompressing and extracting complete. ;;
                     31:        *)      echo Please enter 1, 2 or 3.
                     32:                flag=1;;
                     33:        esac
                     34: done
                     35: 
                     36: echo
                     37: echo -n 'Hit <Enter> to continue...'
                     38: read x
                     39: 
                     40: : Optionally build /usr/dict/words.
                     41: echo '
                     42: cThe COHERENT dictionary in /usr/dict is shipped in compressed form.
                     43: The compressed dictionary uses about 350 blocks (.175 MB) of disk space.
                     44: The uncompressed dictionary uses about 1700 blocks (.85 MB).
                     45: You can either:
                     46:        1) Remove the dictionary,
                     47:        2) Leave the dictionary compressed, or
                     48:        3) Uncompress the dictionary.
                     49: The "spell" command will work only if you uncompress the dictionary (option 3).
                     50: '
                     51: flag=1
                     52: while [ $flag -eq 1 ]
                     53: do
                     54:        echo -n 'Please choose an option: '
                     55:        read x
                     56:        flag=0
                     57:        case $x in
                     58:        1*)     rm /usr/dict/*.Z;;
                     59:        2*)     ;;
                     60:        3*)     echo 'Note: ignore any "inode busy" messages.'
                     61:                /usr/dict/Run
                     62:                echo Uncompressing complete. ;;
                     63:        *)      echo Please enter 1, 2 or 3.
                     64:                flag=1;;
                     65:        esac
                     66: done
                     67: 
                     68: : Perform other housekeeping chores...
                     69: 
                     70: echo
                     71: echo Extracting keyboard table source files...
                     72: KBSOURCES=/conf/kbd/tables.tar
                     73: uncompress $KBSOURCES && tar xof $KBSOURCES && rm $KBSOURCES
                     74: 
                     75: HELPFILE=/etc/helpfile.Z
                     76: HELPINDEX=/etc/helpindex
                     77: if [ -f $HELPFILE ]
                     78: then
                     79:        uncompress $HELPFILE
                     80:        touch $HELPINDEX
                     81: fi
                     82: 
                     83: rm -rf /tmp/drv
                     84: 
                     85: sync
                     86: 
                     87: : Done.
                     88: echo -n 'c'
                     89: exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.