Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | /* |
Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 3 | * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen |
| 4 | * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org> |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | * |
| 20 | */ |
| 21 | |
Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 22 | #include "busybox.h" |
Mark Whitley | c29c44c | 2001-04-25 18:06:21 +0000 | [diff] [blame] | 23 | #include "libbb.h" |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 24 | |
| 25 | #ifdef L_full_version |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 26 | const char * const bb_msg_full_version = BB_BANNER " multi-call binary"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 27 | #endif |
| 28 | #ifdef L_memory_exhausted |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 29 | const char * const bb_msg_memory_exhausted = "memory exhausted"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 30 | #endif |
| 31 | #ifdef L_invalid_date |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 32 | const char * const bb_msg_invalid_date = "invalid date `%s'"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 33 | #endif |
| 34 | #ifdef L_io_error |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 35 | const char * const bb_msg_io_error = "%s: input/output error -- %m"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 36 | #endif |
| 37 | #ifdef L_write_error |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 38 | const char * const bb_msg_write_error = "Write Error"; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 39 | #endif |
| 40 | #ifdef L_name_longer_than_foo |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 41 | const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported."; |
Eric Andersen | 04095e5 | 2001-04-25 05:39:18 +0000 | [diff] [blame] | 42 | #endif |
Eric Andersen | 5f265b7 | 2001-05-11 16:58:46 +0000 | [diff] [blame] | 43 | #ifdef L_unknown |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 44 | const char * const bb_msg_unknown = "(unknown)"; |
Eric Andersen | 5f265b7 | 2001-05-11 16:58:46 +0000 | [diff] [blame] | 45 | #endif |
Eric Andersen | 7467c8d | 2001-07-12 20:26:32 +0000 | [diff] [blame] | 46 | #ifdef L_can_not_create_raw_socket |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 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"; |
Eric Andersen | 7467c8d | 2001-07-12 20:26:32 +0000 | [diff] [blame] | 57 | #endif |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 58 | |
| 59 | #ifdef L_passwd_file |
| 60 | #define PASSWD_FILE "/etc/passwd" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 61 | const char * const bb_path_passwd_file = PASSWD_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 62 | #endif |
| 63 | |
| 64 | #ifdef L_shadow_file |
| 65 | #define SHADOW_FILE "/etc/shadow" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 66 | const char * const bb_path_shadow_file = SHADOW_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 67 | #endif |
| 68 | |
| 69 | #ifdef L_group_file |
| 70 | #define GROUP_FILE "/etc/group" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 71 | const char * const bb_path_group_file = GROUP_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 72 | #endif |
| 73 | |
| 74 | #ifdef L_gshadow_file |
| 75 | #define GSHADOW_FILE "/etc/gshadow" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 76 | const char * const bb_path_gshadow_file = GSHADOW_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 77 | #endif |
| 78 | |
| 79 | #ifdef L_nologin_file |
| 80 | #define NOLOGIN_FILE "/etc/nologin" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 81 | const char * const bb_path_nologin_file = NOLOGIN_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 82 | #endif |
| 83 | |
| 84 | #ifdef L_securetty_file |
| 85 | #define SECURETTY_FILE "/etc/securetty" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 86 | const char * const bb_path_securetty_file = SECURETTY_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 87 | #endif |
| 88 | |
| 89 | #ifdef L_motd_file |
| 90 | #define MOTD_FILE "/etc/motd" |
Manuel Novoa III | cad5364 | 2003-03-19 09:13:01 +0000 | [diff] [blame] | 91 | const char * const bb_path_motd_file = MOTD_FILE; |
Eric Andersen | 27f64e1 | 2002-06-23 04:24:25 +0000 | [diff] [blame] | 92 | #endif |
| 93 | |