aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-02 02:36:18 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-02 02:36:18 +0000
commitd7cb97b8bf8945b6f04bcccbb9be72d638158321 (patch)
treed2ff4fef7b9192de63761935103699569ecbb2ee /include
parent253ff43f62644ee79597eed14b49dcf291f198a1 (diff)
downloadbusybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.tar.gz
busybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.tar.bz2
busybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.zip
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index a6d9a510b..64903732d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -332,6 +332,21 @@ extern const char * const bb_path_group_file;
332extern const char * const bb_path_securetty_file; 332extern const char * const bb_path_securetty_file;
333extern const char * const bb_path_motd_file; 333extern const char * const bb_path_motd_file;
334 334
335/*
336 * You can change LIBBB_DEFAULT_LOGIN_SHELL, but don`t use,
337 * use bb_default_login_shell and next defines,
338 * if you LIBBB_DEFAULT_LOGIN_SHELL change,
339 * don`t lose change increment constant!
340 */
341#define LIBBB_DEFAULT_LOGIN_SHELL "-/bin/sh"
342
343extern const char * const bb_default_login_shell;
344/* "/bin/sh" */
345#define DEFAULT_SHELL (bb_default_login_shell+1)
346/* "sh" */
347#define DEFAULT_SHELL_SHORT_NAME (bb_default_login_shell+6)
348
349
335extern const char bb_path_mtab_file[]; 350extern const char bb_path_mtab_file[];
336 351
337extern int bb_default_error_retval; 352extern int bb_default_error_retval;