diff options
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/init/init.c b/init/init.c index cb83b088d..6fcdc03c1 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -24,10 +24,6 @@ | |||
24 | #define CONSOLE_NAME_SIZE 32 | 24 | #define CONSOLE_NAME_SIZE 32 |
25 | #define MAXENV 16 /* Number of env. vars */ | 25 | #define MAXENV 16 /* Number of env. vars */ |
26 | 26 | ||
27 | #ifndef _PATH_STDPATH | ||
28 | #define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" | ||
29 | #endif | ||
30 | |||
31 | #if ENABLE_FEATURE_INIT_COREDUMPS | 27 | #if ENABLE_FEATURE_INIT_COREDUMPS |
32 | /* | 28 | /* |
33 | * When a file named CORE_ENABLE_FLAG_FILE exists, setrlimit is called | 29 | * When a file named CORE_ENABLE_FLAG_FILE exists, setrlimit is called |
@@ -112,7 +108,7 @@ enum { | |||
112 | 108 | ||
113 | static const char * const environment[] = { | 109 | static const char * const environment[] = { |
114 | "HOME=/", | 110 | "HOME=/", |
115 | "PATH=" _PATH_STDPATH, | 111 | bb_PATH_root_path, |
116 | "SHELL=/bin/sh", | 112 | "SHELL=/bin/sh", |
117 | "USER=root", | 113 | "USER=root", |
118 | NULL | 114 | NULL |