summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorEric Andersen2001-07-06 19:24:27 +0000
committerEric Andersen2001-07-06 19:24:27 +0000
commit00e56ada9cd67851d8ff3a9660c6e4fd7816a266 (patch)
tree77c9698acecbb239a4ee16d472fcc985c79b6d01 /sh.c
parent3bbcc95ac939f50e4319a1dcc0db9e1ba548ba70 (diff)
downloadbusybox-00e56ada9cd67851d8ff3a9660c6e4fd7816a266.zip
busybox-00e56ada9cd67851d8ff3a9660c6e4fd7816a266.tar.gz
Let people select their shell at compile time.
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c39
1 files changed, 39 insertions, 0 deletions
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:
+*/