Xsetup.src 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. XCOMM!KORNSHELL
  2. XCOMM $XConsortium: Xsetup.src /main/8 1996/07/02 11:40:32 mgreess $
  3. XCOMM ##########################################################################
  4. XCOMM
  5. XCOMM Common Desktop Environment
  6. XCOMM
  7. XCOMM (c) Copyright 1993, 1994 Hewlett-Packard Company
  8. XCOMM (c) Copyright 1993, 1994 International Business Machines Corp.
  9. XCOMM (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  10. XCOMM (c) Copyright 1993, 1994 Novell, Inc.
  11. XCOMM
  12. XCOMM ************** DO NOT EDIT THIS FILE **************
  13. XCOMM
  14. XCOMM CDE_INSTALLATION_TOP/config/Xsetup is a factory-default file and will
  15. XCOMM be unconditionally overwritten upon subsequent installation.
  16. XCOMM Before making changes to the file, copy it to the configuration
  17. XCOMM directory, CDE_CONFIGURATION_TOP/config. You must also update the setup
  18. XCOMM resource in CDE_CONFIGURATION_TOP/config/Xconfig.
  19. XCOMM
  20. XCOMM ##########################################################################
  21. #if defined (_AIX)
  22. XCOMM
  23. XCOMM List of displays and keyboard languages
  24. XCOMM
  25. XCOMM This list is used to determine the keyboard language mapping for a
  26. XCOMM particular X station. Each item in the list is a display name
  27. XCOMM followed by a locale name to use for that display's keyboard
  28. XCOMM language mapping. To add a new mapping, simply add a new item to
  29. XCOMM the list. For example, if you have displays named chili:0, carp:0
  30. XCOMM and pecos:0 with japanese, french and german keyboards, respectively,
  31. XCOMM your KBD_MAP list would be:
  32. XCOMM
  33. XCOMM KBD_MAP[0]="chili:0 Ja_JP"
  34. XCOMM KBD_MAP[1]="carp:0 Fr_FR"
  35. XCOMM KBD_MAP[2]="pecos:0 Gr_GR"
  36. XCOMM
  37. XCOMM
  38. KBD_MAP[0]=""
  39. #endif
  40. XCOMM ##########################################################################
  41. XCOMM
  42. XCOMM Directory specifications
  43. XCOMM
  44. XCOMM ##########################################################################
  45. #if defined (_AIX) && defined (AIXV4)
  46. XCOMM
  47. XCOMM Wait for boot sequence to end (if booting)
  48. XCOMM
  49. if [ "$LOCATION" != "remote" ]; then
  50. /usr/sbin/rc.bootx
  51. fi
  52. #endif
  53. #ifdef sun
  54. XDIR=/usr/openwin/bin
  55. #elif defined(__linux__)
  56. XDIR=/usr/bin
  57. #elif defined(__OpenBSD__)
  58. XDIR=/usr/X11R6/bin
  59. #elif defined(__NetBSD__)
  60. XDIR=/usr/X11R7/bin
  61. #elif defined(__FreeBSD__)
  62. XDIR=/usr/local/bin
  63. #else
  64. XDIR=/usr/bin/X11
  65. #endif
  66. #define cpp_Xsetup
  67. #include "_common.ksh.src"
  68. #undef cpp_Xsetup
  69. #ifdef sun
  70. if [ ! -f /etc/pam.conf ]; then
  71. if [ -f CDE_INSTALLATION_TOP/config/sys.pam.conf ]; then
  72. /bin/cp CDE_INSTALLATION_TOP/config/sys.pam.conf /etc/pam.conf
  73. /bin/chmod 644 /etc/pam.conf
  74. fi
  75. fi
  76. #endif