aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h9
-rw-r--r--include/usage.h29
2 files changed, 38 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 668c84914..6697be5ee 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -358,6 +358,9 @@
358#ifdef CONFIG_MESG 358#ifdef CONFIG_MESG
359 APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 359 APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
360#endif 360#endif
361#ifdef CONFIG_MINIT
362 APPLET(minit, minit_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
363#endif
361#ifdef CONFIG_MKDIR 364#ifdef CONFIG_MKDIR
362 APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER) 365 APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER)
363#endif 366#endif
@@ -388,6 +391,9 @@
388#ifdef CONFIG_MSH 391#ifdef CONFIG_MSH
389 APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER) 392 APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER)
390#endif 393#endif
394#ifdef CONFIG_MSVC
395 APPLET(msvc, msvc_main, _BB_DIR_BIN, _BB_SUID_NEVER)
396#endif
391#ifdef CONFIG_MT 397#ifdef CONFIG_MT
392 APPLET(mt, mt_main, _BB_DIR_BIN, _BB_SUID_NEVER) 398 APPLET(mt, mt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
393#endif 399#endif
@@ -415,6 +421,9 @@
415#ifdef CONFIG_PASSWD 421#ifdef CONFIG_PASSWD
416 APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) 422 APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
417#endif 423#endif
424#ifdef CONFIG_PIDFILEHACK
425 APPLET(pidfilehack, pidfilehack_main, _BB_DIR_BIN, _BB_SUID_NEVER)
426#endif
418#ifdef CONFIG_PIDOF 427#ifdef CONFIG_PIDOF
419 APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER) 428 APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER)
420#endif 429#endif
diff --git a/include/usage.h b/include/usage.h
index e98e8b97c..fde6bbe76 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1430,6 +1430,11 @@
1430 "\ty\tAllow write access to your terminal.\n" \ 1430 "\ty\tAllow write access to your terminal.\n" \
1431 "\tn\tDisallow write access to your terminal.\n" 1431 "\tn\tDisallow write access to your terminal.\n"
1432 1432
1433#define minit_trivial_usage \
1434 "[-spPrRC]"
1435#define minit_full_usage \
1436 "[-spPrRC]"
1437
1433#define mkdir_trivial_usage \ 1438#define mkdir_trivial_usage \
1434 "[OPTION] DIRECTORY..." 1439 "[OPTION] DIRECTORY..."
1435#define mkdir_full_usage \ 1440#define mkdir_full_usage \
@@ -1559,6 +1564,25 @@
1559 "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \ 1564 "$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
1560 "$ mount /tmp/diskimage /opt -t ext2 -o loop\n" 1565 "$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
1561 1566
1567#define msvc_trivial_usage \
1568 "-[udorspchaitkx] service"
1569#define msvc_full_usafe \
1570 "[option] service\n" \
1571 "Where option is one of\n" \
1572 "\t-u\tUp. If the service is not running, start it. If the service stops, restart it.\n" \
1573 "\t-d\tDown. If the service is running, stop it, do not restart it.\n" \
1574 "\t-o\tOnce. If the service is not running, start it. Do not restart it if it stops.\n" \
1575 "\t-r\tTell supervise that the service is normally running; this affects status messages.\n" \
1576 "\t-s\tTell supervise that the service is normally stopped; this affects status messages.\n" \
1577 "\t-p\tPause. Send the service a STOP signal.\n" \
1578 "\t-c\tContinue. Send the service a CONT signal.\n" \
1579 "\t-h\tHangup. Send the service a HUP signal.\n" \
1580 "\t-a\tAlarm. Send the service an ALRM signal.\n" \
1581 "\t-i\tInterrupt. Send the service an INT signal.\n" \
1582 "\t-t\tTerminate. Send the service a TERM signal.\n" \
1583 "\t-k\tKill. Send the service a KILL signal.\n" \
1584 "\t-x\tExit. supervise will quit as soon as the service is down.\n"
1585
1562#define mt_trivial_usage \ 1586#define mt_trivial_usage \
1563 "[-f device] opcode value" 1587 "[-f device] opcode value"
1564#define mt_full_usage \ 1588#define mt_full_usage \
@@ -1666,6 +1690,11 @@
1666 "\t-l\tLocks (disables) the specified user account.\n" \ 1690 "\t-l\tLocks (disables) the specified user account.\n" \
1667 "\t-u\tUnlocks (re-enables) the specified user account." 1691 "\t-u\tUnlocks (re-enables) the specified user account."
1668 1692
1693#define pidfilehack_trivial_usage \
1694 "[daemon.pid] [daemon]"
1695#define pidfilehack_full_usage \
1696 "service /var/run/daemon.pid /usr/sbin/daemon args...\n"
1697
1669#define pidof_trivial_usage \ 1698#define pidof_trivial_usage \
1670 "process-name [process-name ...]" 1699 "process-name [process-name ...]"
1671#define pidof_full_usage \ 1700#define pidof_full_usage \