|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T i
Length: 1909 (0x775) Types: TextFile Names: »install.sh.orig«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Galaxy/install.sh.orig«
# This is the galaxy maker. # Be sure to set the following shell-variables before you run this # command file. # Since this file has to use super-user privileges, be sure to read # it before you use it. # Good luck. SDIR=. #SDIR=/users/guest/galaxy/distr SOURCES=$SDIR/src SOURCES1=$SDIR/src1 LIBDIR=/usr/games/lib/galaxy MAN=$SDIR/man DOC=$SDIR/doc ONLINE=$SDIR/online cat << Funny Warning: Read this file before running it! Warning: This file must be run with super_user priviliges. Before running it , create a user named galaxy, group - games. Shall I proceed ? Funny read answer if [ "$answer" != y ]; then echo GoodBye exit 1 fi if [ ! -d $LIBDIR ]; then mkdir $LIBDIR chuser galaxy $LIBDIR exit 1 fi cd $SOURCES; make galaxy cd $SOURCES1; make all mkdir $LIBDIR/online ; chuser galaxy $LIBDIR/online cp $ONLINE/* $LIBDIR/online ; chuser galaxy $LIBDIR/online/* # install all files in library directory.... cd $LIBDIR cp $SOURCES/galaxy galaxy.out # galaxy main program chuser galaxy galaxy.out chmod 4111 galaxy.out cp $SOURCES1/pager pager # call the second user chuser galaxy pager cp $SOURCES1/local local # 2 terminal I/O handler chuser galaxy local cp $SOURCES1/galaxy.motd galaxy.motd # general note chuser galaxy galaxy.motd cp $SOURCES1/galaxy.csh /usr/games/galaxy # command file. chuser galaxy /usr/games/galaxy chmod 755 /usr/games/galaxy cp $SOURCES1/okgalaxy /usr/games/okgalaxy # response program chuser galaxy /usr/games/okgalaxy echo > galaxy.scor # score file. chuser galaxy galaxy.scor echo > wizards # wizard file. chmod 644 wizards chuser galaxy wizards cp $MAN/galaxy.6 /usr/man/man6/galaxy.6 # manual cp $DOC/galaxy.doc /usr/doc/galaxy # document