From 00e56ada9cd67851d8ff3a9660c6e4fd7816a266 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 6 Jul 2001 19:24:27 +0000 Subject: Let people select their shell at compile time. --- sh.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sh.c (limited to 'sh.c') diff --git a/sh.c b/sh.c new file mode 100644 index 0000000..e763436 --- /dev/null +++ b/sh.c @@ -0,0 +1,39 @@ +/* vi: set sw=4 ts=4: */ +/* + * Shell wrapper file for busybox + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#include "busybox.h" + +#if defined BB_FEATURE_ASH +#include "ash.c" +#elif defined BB_FEATURE_MSH +#include "msh.c" +#elif defined BB_FEATURE_HUSH +#include "hush.c" +#elif defined BB_FEATURE_LASH +#include "lash.c" +#endif + +/* +Local Variables: +c-file-style: "linux" +c-basic-offset: 4 +tab-width: 4 +End: +*/ -- cgit v1.1