Annotation of /trunk/mkinitrd-magellan/busybox/applets/individual.c
Parent Directory | Revision Log
Revision 532 -
(hide annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 484 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 484 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | niro | 532 | /* Minimal wrapper to build an individual busybox applet. |
2 | * | ||
3 | * Copyright 2005 Rob Landley <rob@landley.net | ||
4 | * | ||
5 | * Licensed under GPL version 2, see file LICENSE in this tarball for details | ||
6 | */ | ||
7 | |||
8 | const char *applet_name; | ||
9 | |||
10 | #include <stdio.h> | ||
11 | #include <stdlib.h> | ||
12 | //Ok to remove? #include "bb_config.h" | ||
13 | #include "usage.h" | ||
14 | |||
15 | int main(int argc, char *argv[]) | ||
16 | { | ||
17 | applet_name=argv[0]; | ||
18 | |||
19 | return APPLET_main(argc,argv); | ||
20 | } | ||
21 | |||
22 | void bb_show_usage(void) | ||
23 | { | ||
24 | printf(APPLET_full_usage "\n"); | ||
25 | |||
26 | exit(1); | ||
27 | } |