aboutsummaryrefslogtreecommitdiff
path: root/libbb/messages.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 15:02:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 15:02:55 +0000
commitbdbbb7ec49040563628758a2581a5f8e44f53277 (patch)
tree040fdad2cf7f793717c7088c24047b654732541b /libbb/messages.c
parentc14d39e83a7f55ab9b92e98673a281fd6565c32d (diff)
downloadbusybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.tar.gz
busybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.tar.bz2
busybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.zip
make busybox --install work even if /proc/self/exe doesn't exist
# size busybox_old busybox_unstripped text data bss dec hex filename 680095 2704 15648 698447 aa84f busybox_old 680099 2704 15648 698451 aa853 busybox_unstripped
Diffstat (limited to 'libbb/messages.c')
-rw-r--r--libbb/messages.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/messages.c b/libbb/messages.c
index fbd882c43..16aaea553 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -37,8 +37,9 @@ const char bb_path_gshadow_file[] = "/etc/gshadow";
37const char bb_path_nologin_file[] = "/etc/nologin"; 37const char bb_path_nologin_file[] = "/etc/nologin";
38const char bb_path_securetty_file[] = "/etc/securetty"; 38const char bb_path_securetty_file[] = "/etc/securetty";
39const char bb_path_motd_file[] = "/etc/motd"; 39const char bb_path_motd_file[] = "/etc/motd";
40const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL;
41const char bb_dev_null[] = "/dev/null"; 40const char bb_dev_null[] = "/dev/null";
41const char bb_busybox_exec_path[] = CONFIG_BUSYBOX_EXEC_PATH;
42const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL;
42 43
43const int const_int_0; 44const int const_int_0;
44const int const_int_1 = 1; 45const int const_int_1 = 1;