diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-25 00:04:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-25 00:04:16 +0000 |
commit | 386242388413f930bb5ea9204a2cd9de372a23d3 (patch) | |
tree | a60ab467de7e5d90d0791d9d123429fa672f8c0c | |
parent | 70c60864747e203f49fd08eb61db0d5a610e6776 (diff) | |
download | busybox-w32-386242388413f930bb5ea9204a2cd9de372a23d3.tar.gz busybox-w32-386242388413f930bb5ea9204a2cd9de372a23d3.tar.bz2 busybox-w32-386242388413f930bb5ea9204a2cd9de372a23d3.zip |
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
-rw-r--r-- | init.c | 8 | ||||
-rw-r--r-- | init/init.c | 8 |
2 files changed, 16 insertions, 0 deletions
@@ -400,6 +400,10 @@ static pid_t run(char *command, char *terminal, int get_enter) | |||
400 | char buf[255]; | 400 | char buf[255]; |
401 | static const char press_enter[] = | 401 | static const char press_enter[] = |
402 | 402 | ||
403 | #ifdef CUSTOMIZED_BANNER | ||
404 | #include CUSTOMIZED_BANNER | ||
405 | #endif | ||
406 | |||
403 | "\nPlease press Enter to activate this console. "; | 407 | "\nPlease press Enter to activate this console. "; |
404 | char *environment[] = { | 408 | char *environment[] = { |
405 | "HOME=/", | 409 | "HOME=/", |
@@ -657,6 +661,10 @@ static void reboot_signal(int sig) | |||
657 | 661 | ||
658 | #if defined BB_FEATURE_INIT_CHROOT | 662 | #if defined BB_FEATURE_INIT_CHROOT |
659 | 663 | ||
664 | #warning BB_FEATURE_INIT_CHROOT is out of date and should be rewritten to us | ||
665 | #warning pivot root instead. Do not even bother till this work is done... | ||
666 | #warning You have been warned. | ||
667 | |||
660 | #if ! defined BB_FEATURE_USE_PROCFS | 668 | #if ! defined BB_FEATURE_USE_PROCFS |
661 | #error Sorry, I depend on the /proc filesystem right now. | 669 | #error Sorry, I depend on the /proc filesystem right now. |
662 | #endif | 670 | #endif |
diff --git a/init/init.c b/init/init.c index ac0f72bfc..86906487f 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -400,6 +400,10 @@ static pid_t run(char *command, char *terminal, int get_enter) | |||
400 | char buf[255]; | 400 | char buf[255]; |
401 | static const char press_enter[] = | 401 | static const char press_enter[] = |
402 | 402 | ||
403 | #ifdef CUSTOMIZED_BANNER | ||
404 | #include CUSTOMIZED_BANNER | ||
405 | #endif | ||
406 | |||
403 | "\nPlease press Enter to activate this console. "; | 407 | "\nPlease press Enter to activate this console. "; |
404 | char *environment[] = { | 408 | char *environment[] = { |
405 | "HOME=/", | 409 | "HOME=/", |
@@ -657,6 +661,10 @@ static void reboot_signal(int sig) | |||
657 | 661 | ||
658 | #if defined BB_FEATURE_INIT_CHROOT | 662 | #if defined BB_FEATURE_INIT_CHROOT |
659 | 663 | ||
664 | #warning BB_FEATURE_INIT_CHROOT is out of date and should be rewritten to us | ||
665 | #warning pivot root instead. Do not even bother till this work is done... | ||
666 | #warning You have been warned. | ||
667 | |||
660 | #if ! defined BB_FEATURE_USE_PROCFS | 668 | #if ! defined BB_FEATURE_USE_PROCFS |
661 | #error Sorry, I depend on the /proc filesystem right now. | 669 | #error Sorry, I depend on the /proc filesystem right now. |
662 | #endif | 670 | #endif |