0060.dtsysenv.src 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. XCOMM!KORNSHELL
  2. XCOMM ####################################################################
  3. XCOMM ## File: 0060.srcsysenv
  4. XCOMM ##
  5. XCOMM ## Default Location: /usr/dt/config/Xsession.d/
  6. XCOMM ##
  7. XCOMM ## Purpose: Source system-defined environment variables
  8. XCOMM ##
  9. XCOMM ## Description:
  10. XCOMM ## This script is invoked by means of the Xsession
  11. XCOMM ## file at user login.
  12. XCOMM ##
  13. XCOMM ## Invoked by: /usr/dt/bin/Xsession
  14. XCOMM ##
  15. XCOMM ## $TOG: 0060.srcsysenv.src /main/1 1998/08/03 18:10:08 devobj $
  16. XCOMM ##
  17. XCOMM ## (c) Copyright 1993, 1994 Hewlett-Packard Company
  18. XCOMM ## (c) Copyright 1993, 1994 International Business Machines Corp.
  19. XCOMM ## (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  20. XCOMM ## (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
  21. XCOMM ## (c) Copyright 1993, 1994 Novell, Inc.
  22. XCOMM ##
  23. XCOMM ####################################################################
  24. XCOMM ##
  25. XCOMM ####################################################################
  26. #define HASH #
  27. #if !defined(CSRG_BASED)
  28. HASH
  29. HASH Source TIMEZONE
  30. HASH
  31. TZ_FILE=/etc/TIMEZONE
  32. if [ -f $TZ_FILE -a -r $TZ_FILE ]; then
  33. . $TZ_FILE
  34. fi
  35. unset TZ_FILE
  36. HASH
  37. HASH Source PATH - it does NOT set the variable so this
  38. HASH this script must take of it
  39. HASH
  40. PATH_FILE=/etc/PATH
  41. if [ -f $PATH_FILE -a -r $PATH_FILE ]; then
  42. export PATH="$PATH:`cat $PATH_FILE`"
  43. fi
  44. unset PATH_FILE
  45. HASH
  46. HASH Source MANPATH - it does NOT set the variable so this
  47. HASH this script must take of it
  48. HASH
  49. MANPATH_FILE=/etc/MANPATH
  50. if [ -f $MANPATH_FILE -a -r $MANPATH_FILE ]; then
  51. export MANPATH="$MANPATH:`cat $MANPATH_FILE`"
  52. fi
  53. unset MANPATH_FILE
  54. #endif
  55. XCOMM ######################### eof #####################