summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/insmod-busybox/insmod-frontend.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:15:22 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:15:22 +0000
commit71d6a65fa155d25fc325d6a9b83a746f5845922e (patch)
tree6cd57695ffaf8cefa1d4bacfea4bb4510db2195c /mdk-stage1/insmod-busybox/insmod-frontend.c
parent79ccb1852b0424d003cfbf6d3985aebf6b831cb1 (diff)
downloaddrakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.gz
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.bz2
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.xz
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.zip
add insmod from busybox (i386 only)
Diffstat (limited to 'mdk-stage1/insmod-busybox/insmod-frontend.c')
-rw-r--r--mdk-stage1/insmod-busybox/insmod-frontend.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mdk-stage1/insmod-busybox/insmod-frontend.c b/mdk-stage1/insmod-busybox/insmod-frontend.c
new file mode 100644
index 000000000..3e5d6b3d7
--- /dev/null
+++ b/mdk-stage1/insmod-busybox/insmod-frontend.c
@@ -0,0 +1,24 @@
+/*
+ * Guillaume Cottenceau (gc@mandrakesoft.com)
+ *
+ * Copyright 2000 MandrakeSoft
+ *
+ * This software may be freely redistributed under the terms of the GNU
+ * public license.
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#include <stdio.h>
+
+
+int insmod_main( int argc, char **argv);
+
+int main( int argc, char **argv)
+{
+ printf("Using insmod provided by busybox.\n");
+ return insmod_main(argc, argv);
+}