diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 461c878df..5ecfe3cba 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -386,6 +386,9 @@ | |||
386 | #ifdef BB_SORT | 386 | #ifdef BB_SORT |
387 | APPLET(sort, sort_main, _BB_DIR_USR_BIN) | 387 | APPLET(sort, sort_main, _BB_DIR_USR_BIN) |
388 | #endif | 388 | #endif |
389 | #ifdef BB_START_STOP_DAEMON | ||
390 | APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, start_stop_daemon) | ||
391 | #endif | ||
389 | #ifdef BB_STTY | 392 | #ifdef BB_STTY |
390 | APPLET(stty, stty_main, _BB_DIR_BIN) | 393 | APPLET(stty, stty_main, _BB_DIR_BIN) |
391 | #endif | 394 | #endif |
diff --git a/include/usage.h b/include/usage.h index 0d830c9cc..5e514274a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1458,6 +1458,20 @@ | |||
1458 | "e\n" \ | 1458 | "e\n" \ |
1459 | "f\n" | 1459 | "f\n" |
1460 | 1460 | ||
1461 | #define start_stop_daemon_trivial_usage \ | ||
1462 | "[OPTIONS]" | ||
1463 | #define start_stop_daemon_full_usage \ | ||
1464 | "Program to start and stop services.\n"\ | ||
1465 | "Options:\n" \ | ||
1466 | "-S\t\t\tstart\n"\ | ||
1467 | "-K\t\t\tstop\n"\ | ||
1468 | "-x <executable>\t\tprogram to start/check if it is running\n"\ | ||
1469 | "-p <pid-file>\t\tpid file to check\n"\ | ||
1470 | "-u <username>|<uid>\tstop this user's processes\n"\ | ||
1471 | "-n <process-name>\tstop processes with this name\n"\ | ||
1472 | "-s <signal>\t\tsignal to send (default 15)\n"\ | ||
1473 | "-a <pathname>\t\tprogram to start (default <executable>)\n" | ||
1474 | |||
1461 | #define stty_trivial_usage \ | 1475 | #define stty_trivial_usage \ |
1462 | "[-a|g] [-F DEVICE] [SETTING]..." | 1476 | "[-a|g] [-F DEVICE] [SETTING]..." |
1463 | #define stty_full_usage \ | 1477 | #define stty_full_usage \ |