diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 12 |
3 files changed, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 0b65266f3..b1425fa81 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -283,6 +283,9 @@ | |||
283 | #ifdef CONFIG_INSMOD | 283 | #ifdef CONFIG_INSMOD |
284 | APPLET(insmod, insmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 284 | APPLET(insmod, insmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
285 | #endif | 285 | #endif |
286 | #ifdef CONFIG_INSTALL | ||
287 | APPLET(install, install_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
288 | #endif | ||
286 | #ifdef CONFIG_IP | 289 | #ifdef CONFIG_IP |
287 | APPLET(ip, ip_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 290 | APPLET(ip, ip_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
288 | #endif | 291 | #endif |
diff --git a/include/libbb.h b/include/libbb.h index a6ccff421..2bb5ce02d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -467,5 +467,6 @@ extern void print_login_prompt(void); | |||
467 | 467 | ||
468 | extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); | 468 | extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); |
469 | extern void get_terminal_width_height(int fd, int *width, int *height); | 469 | extern void get_terminal_width_height(int fd, int *width, int *height); |
470 | extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); | ||
470 | 471 | ||
471 | #endif /* __LIBCONFIG_H__ */ | 472 | #endif /* __LIBCONFIG_H__ */ |
diff --git a/include/usage.h b/include/usage.h index ba8fdde84..ba808d39a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1239,6 +1239,18 @@ | |||
1239 | USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout") \ | 1239 | USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout") \ |
1240 | "\t-x\tdo not export externs\n" | 1240 | "\t-x\tdo not export externs\n" |
1241 | 1241 | ||
1242 | #define install_trivial_usage \ | ||
1243 | "[cgmops] [sources] <dest|directory>" | ||
1244 | #define install_full_usage \ | ||
1245 | "copy files and set attributes\n\n" \ | ||
1246 | "Options:\n" \ | ||
1247 | "\t-c\tcopy the file, default\n" \ | ||
1248 | "\t-g\tset group ownership\n" \ | ||
1249 | "\t-m\tset permission modes\n" \ | ||
1250 | "\t-o\tset ownership\n" \ | ||
1251 | "\t-p\tpreserve date\n" \ | ||
1252 | "\t-s\tstrip symbol tables\n" | ||
1253 | |||
1242 | #define ip_trivial_usage \ | 1254 | #define ip_trivial_usage \ |
1243 | "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }" | 1255 | "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }" |
1244 | #define ip_full_usage \ | 1256 | #define ip_full_usage \ |