home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / opcom-2.1 / part01 / config next >
Encoding:
Text File  |  1993-04-10  |  1.0 KB  |  41 lines

  1. : use /bin/sh
  2.  
  3. # opcom configuration script.
  4. #
  5. # In the first part of this script the directories and the administration
  6. # for opcom are defined.
  7. # Refer to all of these only by the environment variables defined here.
  8.  
  9. #++
  10. # AUTHOR(S)
  11. #
  12. #      Carel Braam (rccarel@urc.tue.nl)
  13. #      Eindhoven University of Technology
  14. #      Computing Centre
  15. #      Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  16. # CREATION DATE
  17. #    Thu Jan  5 11:09:45 MET 1989
  18. # LAST MODIFICATION
  19. #    Thu Jan 10 10:02:54 MET 1991
  20. # VERSION/RELEASE
  21. #    2.1
  22. #--
  23.  
  24. #    *** System dependent variables ***
  25.  
  26. SYSTEM=BSD        # must be BSD or SYSV (system v)
  27. #SYSTEM=SYSV        # must be BSD or SYSV (system v)
  28. SYSLOG=USE_SYSLOG    # report opcom usage to syslogd
  29. #SYSLOG=NO_SYSLOG    # don't report opcom usage
  30.  
  31. OPCOMDIR="/usr/local/lib/opcom"    
  32. COMMANDS="$OPCOMDIR/commands"        # command file
  33. PROFILE="$OPCOMDIR/profile"        # profile
  34.  
  35. #    *** End system dependent variables ***
  36.  
  37. sed 's%XCOMMANDS%'"$COMMANDS"'%g
  38.      s%XPROFILE%'"$PROFILE"'%g
  39.      s%XSYSLOG%'"$SYSLOG"'%g
  40.      s%XSYSTEM%'"$SYSTEM"'%g' $*
  41.