[BusyBox] ash Intro banner (others too?)

David Douthitt ssrat at mailbag.com
Fri Aug 10 09:02:13 UTC 2001

When I start busybox ash, I get the intro banner.  This would normally
be fine, except it interferes with the informational output I have set
up for users of my distribution.  Thus I propose:

--- busybox.work/ash.c.orig2    Fri Aug 10 09:57:18 2001
+++ busybox.work/ash.c  Fri Aug 10 09:59:14 2001
@@ -32,6 +32,10 @@
  * Original copyright notice is retained at the end of this file.
+/* Enable an introductory banner when you first run the shell.
+ * This describes which shell is being used and tells the user
+ * to use 'help' to show internal commands... */
 /* These defines allow you to adjust the feature set to be compiled
  * into the ash shell.   As a rule, enabling these options will make
@@ -3293,10 +3297,12 @@
        is_interactive = on;
        if (do_banner==0 && is_interactive) {
                /* Looks like they want an interactive shell */
                printf( "\n\n" BB_BANNER " Built-in shell (ash)\n");
                printf( "Enter 'help' for a list of built-in
...for me, I'd just as soon as #undef INTRO_BANNER, but I think that it
is better to leave it enabled (at least initially) for most people...

More information about the busybox mailing list