messages.c 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. *
  19. */
  20. #include "busybox.h"
  21. #include "libbb.h"
  22. #ifdef L_full_version
  23. const char * const bb_msg_full_version = BB_BANNER " multi-call binary";
  24. #endif
  25. #ifdef L_memory_exhausted
  26. const char * const bb_msg_memory_exhausted = "memory exhausted";
  27. #endif
  28. #ifdef L_invalid_date
  29. const char * const bb_msg_invalid_date = "invalid date `%s'";
  30. #endif
  31. #ifdef L_io_error
  32. const char * const bb_msg_io_error = "%s: input/output error -- %m";
  33. #endif
  34. #ifdef L_write_error
  35. const char * const bb_msg_write_error = "Write Error";
  36. #endif
  37. #ifdef L_read_error
  38. const char * const bb_msg_read_error = "Read Error";
  39. #endif
  40. #ifdef L_name_longer_than_foo
  41. const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
  42. #endif
  43. #ifdef L_unknown
  44. const char * const bb_msg_unknown = "(unknown)";
  45. #endif
  46. #ifdef L_can_not_create_raw_socket
  47. const char * const bb_msg_can_not_create_raw_socket = "can`t create raw socket";
  48. #endif
  49. #ifdef L_perm_denied_are_you_root
  50. const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
  51. #endif
  52. #ifdef L_msg_standard_input
  53. const char * const bb_msg_standard_input = "standard input";
  54. #endif
  55. #ifdef L_msg_standard_output
  56. const char * const bb_msg_standard_output = "standard output";
  57. #endif
  58. #ifdef L_passwd_file
  59. #define PASSWD_FILE "/etc/passwd"
  60. const char * const bb_path_passwd_file = PASSWD_FILE;
  61. #endif
  62. #ifdef L_shadow_file
  63. #define SHADOW_FILE "/etc/shadow"
  64. const char * const bb_path_shadow_file = SHADOW_FILE;
  65. #endif
  66. #ifdef L_group_file
  67. #define GROUP_FILE "/etc/group"
  68. const char * const bb_path_group_file = GROUP_FILE;
  69. #endif
  70. #ifdef L_gshadow_file
  71. #define GSHADOW_FILE "/etc/gshadow"
  72. const char * const bb_path_gshadow_file = GSHADOW_FILE;
  73. #endif
  74. #ifdef L_nologin_file
  75. #define NOLOGIN_FILE "/etc/nologin"
  76. const char * const bb_path_nologin_file = NOLOGIN_FILE;
  77. #endif
  78. #ifdef L_securetty_file
  79. #define SECURETTY_FILE "/etc/securetty"
  80. const char * const bb_path_securetty_file = SECURETTY_FILE;
  81. #endif
  82. #ifdef L_motd_file
  83. #define MOTD_FILE "/etc/motd"
  84. const char * const bb_path_motd_file = MOTD_FILE;
  85. #endif
  86. #ifdef L_shell_file
  87. const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
  88. #endif