Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
3.2 KiB

27 years ago
28 years ago
26 years ago
29 years ago
  1. /* $OpenBSD: paths.h,v 1.25 2014/03/13 15:24:41 tedu Exp $ */
  2. /* $NetBSD: paths.h,v 1.7 1994/10/26 00:56:12 cgd Exp $ */
  3. /*
  4. * Copyright (c) 1989, 1993
  5. * The Regents of the University of California. All rights reserved.
  6. *
  7. * Redistribution and use in source and binary forms, with or without
  8. * modification, are permitted provided that the following conditions
  9. * are met:
  10. * 1. Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. * 2. Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in the
  14. * documentation and/or other materials provided with the distribution.
  15. * 3. Neither the name of the University nor the names of its contributors
  16. * may be used to endorse or promote products derived from this software
  17. * without specific prior written permission.
  18. *
  19. * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  20. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  21. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  22. * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  23. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  24. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  25. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  26. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  27. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  28. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  29. * SUCH DAMAGE.
  30. *
  31. * @(#)paths.h 8.1 (Berkeley) 6/2/93
  32. */
  33. #ifndef _PATHS_H_
  34. #define _PATHS_H_
  35. /* Default search path. */
  36. #define _PATH_DEFPATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin"
  37. /* All standard utilities path. */
  38. #define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin"
  39. #define _PATH_BSHELL "/bin/sh"
  40. #define _PATH_CONSOLE "/dev/console"
  41. #define _PATH_CSHELL "/bin/csh"
  42. #define _PATH_DEFTAPE "/dev/rst0"
  43. #define _PATH_DEVDB "/var/run/dev.db"
  44. #define _PATH_DEVNULL "/dev/null"
  45. #define _PATH_FSIRAND "/sbin/fsirand"
  46. #define _PATH_KLOG "/dev/klog"
  47. #define _PATH_KMEM "/dev/kmem"
  48. #define _PATH_KSHELL "/bin/ksh"
  49. #define _PATH_KSYMS "/dev/ksyms"
  50. #define _PATH_KVMDB "/var/db/kvm_bsd.db"
  51. #define _PATH_LOCALE "/usr/share/locale"
  52. #define _PATH_LOGCONF "/etc/syslog.conf"
  53. #define _PATH_LOGPID "/var/run/syslog.pid"
  54. #define _PATH_MAILDIR "/var/mail"
  55. #define _PATH_MAN "/usr/share/man"
  56. #define _PATH_MEM "/dev/mem"
  57. #define _PATH_NOLOGIN "/etc/nologin"
  58. #define _PATH_RSH "/usr/bin/ssh"
  59. #define _PATH_SENDMAIL "/usr/sbin/sendmail"
  60. #define _PATH_SHELLS "/etc/shells"
  61. #define _PATH_TTY "/dev/tty"
  62. #define _PATH_UNIX "/bsd"
  63. #define _PATH_VI "/usr/bin/vi"
  64. /* Provide trailing slash, since mostly used for building pathnames. */
  65. #define _PATH_BOOTDIR "/usr/mdec/"
  66. #define _PATH_DEV "/dev/"
  67. #define _PATH_DEVFD "/dev/fd/"
  68. #define _PATH_TMP "/tmp/"
  69. #define _PATH_UUCPLOCK "/var/spool/lock/"
  70. #define _PATH_VARDB "/var/db/"
  71. #define _PATH_VAREMPTY "/var/empty/"
  72. #define _PATH_VARRUN "/var/run/"
  73. #define _PATH_VARTMP "/var/tmp/"
  74. #endif /* !_PATHS_H_ */