blob: e11dddc50f87933d33fe61598a17fce590dffc73 [file] [log] [blame]
Eric Andersen04095e52001-04-25 05:39:18 +00001/* vi: set sw=4 ts=4: */
2/*
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
Eric Andersen04095e52001-04-25 05:39:18 +00004 *
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
Eric Andersenbdfd0d72001-10-24 05:00:29 +000021#include "busybox.h"
Mark Whitleyc29c44c2001-04-25 18:06:21 +000022#include "libbb.h"
Eric Andersen04095e52001-04-25 05:39:18 +000023
24#ifdef L_full_version
Manuel Novoa III cad53642003-03-19 09:13:01 +000025 const char * const bb_msg_full_version = BB_BANNER " multi-call binary";
Eric Andersen04095e52001-04-25 05:39:18 +000026#endif
27#ifdef L_memory_exhausted
Manuel Novoa III cad53642003-03-19 09:13:01 +000028 const char * const bb_msg_memory_exhausted = "memory exhausted";
Eric Andersen04095e52001-04-25 05:39:18 +000029#endif
30#ifdef L_invalid_date
Manuel Novoa III cad53642003-03-19 09:13:01 +000031 const char * const bb_msg_invalid_date = "invalid date `%s'";
Eric Andersen04095e52001-04-25 05:39:18 +000032#endif
33#ifdef L_io_error
Manuel Novoa III cad53642003-03-19 09:13:01 +000034 const char * const bb_msg_io_error = "%s: input/output error -- %m";
Eric Andersen04095e52001-04-25 05:39:18 +000035#endif
36#ifdef L_write_error
Manuel Novoa III cad53642003-03-19 09:13:01 +000037 const char * const bb_msg_write_error = "Write Error";
Eric Andersen04095e52001-04-25 05:39:18 +000038#endif
Eric Andersen3cd19862005-04-16 07:42:35 +000039#ifdef L_read_error
40 const char * const bb_msg_read_error = "Read Error";
41#endif
Eric Andersen04095e52001-04-25 05:39:18 +000042#ifdef L_name_longer_than_foo
Manuel Novoa III cad53642003-03-19 09:13:01 +000043 const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
Eric Andersen04095e52001-04-25 05:39:18 +000044#endif
Eric Andersen5f265b72001-05-11 16:58:46 +000045#ifdef L_unknown
Manuel Novoa III cad53642003-03-19 09:13:01 +000046 const char * const bb_msg_unknown = "(unknown)";
Eric Andersen5f265b72001-05-11 16:58:46 +000047#endif
Eric Andersen7467c8d2001-07-12 20:26:32 +000048#ifdef L_can_not_create_raw_socket
Manuel Novoa III cad53642003-03-19 09:13:01 +000049 const char * const bb_msg_can_not_create_raw_socket = "can`t create raw socket";
50#endif
51#ifdef L_perm_denied_are_you_root
52 const char * const bb_msg_perm_denied_are_you_root = "permission denied. (are you root?)";
53#endif
54#ifdef L_msg_standard_input
55 const char * const bb_msg_standard_input = "standard input";
56#endif
57#ifdef L_msg_standard_output
58 const char * const bb_msg_standard_output = "standard output";
Eric Andersen7467c8d2001-07-12 20:26:32 +000059#endif
Eric Andersen27f64e12002-06-23 04:24:25 +000060
61#ifdef L_passwd_file
62#define PASSWD_FILE "/etc/passwd"
Manuel Novoa III cad53642003-03-19 09:13:01 +000063const char * const bb_path_passwd_file = PASSWD_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000064#endif
65
66#ifdef L_shadow_file
67#define SHADOW_FILE "/etc/shadow"
Manuel Novoa III cad53642003-03-19 09:13:01 +000068const char * const bb_path_shadow_file = SHADOW_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000069#endif
70
71#ifdef L_group_file
72#define GROUP_FILE "/etc/group"
Manuel Novoa III cad53642003-03-19 09:13:01 +000073const char * const bb_path_group_file = GROUP_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000074#endif
75
76#ifdef L_gshadow_file
77#define GSHADOW_FILE "/etc/gshadow"
Manuel Novoa III cad53642003-03-19 09:13:01 +000078const char * const bb_path_gshadow_file = GSHADOW_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000079#endif
80
81#ifdef L_nologin_file
82#define NOLOGIN_FILE "/etc/nologin"
Manuel Novoa III cad53642003-03-19 09:13:01 +000083const char * const bb_path_nologin_file = NOLOGIN_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000084#endif
85
86#ifdef L_securetty_file
87#define SECURETTY_FILE "/etc/securetty"
Manuel Novoa III cad53642003-03-19 09:13:01 +000088const char * const bb_path_securetty_file = SECURETTY_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000089#endif
90
91#ifdef L_motd_file
92#define MOTD_FILE "/etc/motd"
Manuel Novoa III cad53642003-03-19 09:13:01 +000093const char * const bb_path_motd_file = MOTD_FILE;
Eric Andersen27f64e12002-06-23 04:24:25 +000094#endif
95
Glenn L McGrathdc4e75e2003-09-02 02:36:18 +000096#ifdef L_shell_file
97const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
98#endif
99
"Vladimir N. Oleynik"6c35c7c2005-10-12 15:34:25 +0000100#ifdef L_bb_dev_null
101const char * const bb_dev_null = "/dev/null";
"Vladimir N. Oleynik"86a10732005-10-12 15:21:32 +0000102#endif
103
"Vladimir N. Oleynik"6f347ef2005-10-15 10:23:55 +0000104#ifdef L_bb_common_bufsiz1
105char bb_common_bufsiz1[BUFSIZ+1];
106#endif