mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
Add in Larry's CUSTOMIZED_BANNER patchlet, and let folks know that
BB_FEATURE_INIT_CHROOT needs to be rewritten to use pivot_root. -Erik
This commit is contained in:
parent
70c6086474
commit
3862423884
8
init.c
8
init.c
@ -400,6 +400,10 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
||||
char buf[255];
|
||||
static const char press_enter[] =
|
||||
|
||||
#ifdef CUSTOMIZED_BANNER
|
||||
#include CUSTOMIZED_BANNER
|
||||
#endif
|
||||
|
||||
"\nPlease press Enter to activate this console. ";
|
||||
char *environment[] = {
|
||||
"HOME=/",
|
||||
@ -657,6 +661,10 @@ static void reboot_signal(int sig)
|
||||
|
||||
#if defined BB_FEATURE_INIT_CHROOT
|
||||
|
||||
#warning BB_FEATURE_INIT_CHROOT is out of date and should be rewritten to us
|
||||
#warning pivot root instead. Do not even bother till this work is done...
|
||||
#warning You have been warned.
|
||||
|
||||
#if ! defined BB_FEATURE_USE_PROCFS
|
||||
#error Sorry, I depend on the /proc filesystem right now.
|
||||
#endif
|
||||
|
@ -400,6 +400,10 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
||||
char buf[255];
|
||||
static const char press_enter[] =
|
||||
|
||||
#ifdef CUSTOMIZED_BANNER
|
||||
#include CUSTOMIZED_BANNER
|
||||
#endif
|
||||
|
||||
"\nPlease press Enter to activate this console. ";
|
||||
char *environment[] = {
|
||||
"HOME=/",
|
||||
@ -657,6 +661,10 @@ static void reboot_signal(int sig)
|
||||
|
||||
#if defined BB_FEATURE_INIT_CHROOT
|
||||
|
||||
#warning BB_FEATURE_INIT_CHROOT is out of date and should be rewritten to us
|
||||
#warning pivot root instead. Do not even bother till this work is done...
|
||||
#warning You have been warned.
|
||||
|
||||
#if ! defined BB_FEATURE_USE_PROCFS
|
||||
#error Sorry, I depend on the /proc filesystem right now.
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user