diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-02 02:36:18 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-02 02:36:18 +0000 |
commit | dc4e75ef7ca135c836d22e380847672cf5b3773b (patch) | |
tree | d2ff4fef7b9192de63761935103699569ecbb2ee /libbb | |
parent | 005f83adf511ab89296639abbef737ad4e5826f9 (diff) | |
download | busybox-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.gz |
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant.
Vodz last_patch_107
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/Makefile.in | 2 | ||||
-rw-r--r-- | libbb/messages.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in index 0d7103ef0..0ccd85dbe 100644 --- a/libbb/Makefile.in +++ b/libbb/Makefile.in @@ -59,7 +59,7 @@ LIBBB_MOBJ0:=full_version.o \ can_not_create_raw_socket.o perm_denied_are_you_root.o \ shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \ securetty_file.o motd_file.o \ - msg_standard_input.o msg_standard_output.o + msg_standard_input.o msg_standard_output.o shell_file.o LIBBB_MSRC1:=$(LIBBB_DIR)xfuncs.c LIBBB_MOBJ1:=xmalloc.o xrealloc.o xcalloc.o xstrdup.o xstrndup.o \ diff --git a/libbb/messages.c b/libbb/messages.c index 11493db12..adfd1ffcc 100644 --- a/libbb/messages.c +++ b/libbb/messages.c @@ -90,3 +90,7 @@ const char * const bb_path_securetty_file = SECURETTY_FILE; const char * const bb_path_motd_file = MOTD_FILE; #endif +#ifdef L_shell_file +const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL; +#endif + |