[BusyBox-cvs] busybox/include applets.h,1.95,1.96 usage.h,1.148,1.149
Glenn McGrath
bug1 at busybox.net
Sun May 11 14:52:41 UTC 2003
- Previous message: [BusyBox-cvs] busybox/util-linux freeramdisk.c,1.21,1.22
- Next message: [BusyBox-cvs] busybox/init minit.c,NONE,1.1 msvc.c,NONE,1.1 pidfilehack.c,NONE,1.1 Config.in,1.1,1.2 Makefile.in,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv30916/include
Modified Files:
applets.h usage.h
Log Message:
minit, a Minimal init system.
Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- applets.h 27 Apr 2003 06:02:14 -0000 1.95
+++ applets.h 11 May 2003 14:52:37 -0000 1.96
@@ -358,6 +358,9 @@
#ifdef CONFIG_MESG
APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_MINIT
+ APPLET(minit, minit_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_MKDIR
APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
@@ -388,6 +391,9 @@
#ifdef CONFIG_MSH
APPLET_NOUSAGE("msh", msh_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_MSVC
+ APPLET(msvc, msvc_main, _BB_DIR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_MT
APPLET(mt, mt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
@@ -414,6 +420,9 @@
#endif
#ifdef CONFIG_PASSWD
APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
+#endif
+#ifdef CONFIG_PIDFILEHACK
+ APPLET(pidfilehack, pidfilehack_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_PIDOF
APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER)
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- usage.h 27 Apr 2003 06:02:14 -0000 1.148
+++ usage.h 11 May 2003 14:52:37 -0000 1.149
@@ -1430,6 +1430,11 @@
"\ty\tAllow write access to your terminal.\n" \
"\tn\tDisallow write access to your terminal.\n"
+#define minit_trivial_usage \
+ "[-spPrRC]"
+#define minit_full_usage \
+ "[-spPrRC]"
+
#define mkdir_trivial_usage \
"[OPTION] DIRECTORY..."
#define mkdir_full_usage \
@@ -1559,6 +1564,25 @@
"$ mount /dev/fd0 /mnt -t msdos -o ro\n" \
"$ mount /tmp/diskimage /opt -t ext2 -o loop\n"
+#define msvc_trivial_usage \
+ "-[udorspchaitkx] service"
+#define msvc_full_usafe \
+ "[option] service\n" \
+ "Where option is one of\n" \
+ "\t-u\tUp. If the service is not running, start it. If the service stops, restart it.\n" \
+ "\t-d\tDown. If the service is running, stop it, do not restart it.\n" \
+ "\t-o\tOnce. If the service is not running, start it. Do not restart it if it stops.\n" \
+ "\t-r\tTell supervise that the service is normally running; this affects status messages.\n" \
+ "\t-s\tTell supervise that the service is normally stopped; this affects status messages.\n" \
+ "\t-p\tPause. Send the service a STOP signal.\n" \
+ "\t-c\tContinue. Send the service a CONT signal.\n" \
+ "\t-h\tHangup. Send the service a HUP signal.\n" \
+ "\t-a\tAlarm. Send the service an ALRM signal.\n" \
+ "\t-i\tInterrupt. Send the service an INT signal.\n" \
+ "\t-t\tTerminate. Send the service a TERM signal.\n" \
+ "\t-k\tKill. Send the service a KILL signal.\n" \
+ "\t-x\tExit. supervise will quit as soon as the service is down.\n"
+
#define mt_trivial_usage \
"[-f device] opcode value"
#define mt_full_usage \
@@ -1665,6 +1689,11 @@
")\n\t-d\tDelete the password for the specified user account.\n" \
"\t-l\tLocks (disables) the specified user account.\n" \
"\t-u\tUnlocks (re-enables) the specified user account."
+
+#define pidfilehack_trivial_usage \
+ "[daemon.pid] [daemon]"
+#define pidfilehack_full_usage \
+ "service /var/run/daemon.pid /usr/sbin/daemon args...\n"
#define pidof_trivial_usage \
"process-name [process-name ...]"
- Previous message: [BusyBox-cvs] busybox/util-linux freeramdisk.c,1.21,1.22
- Next message: [BusyBox-cvs] busybox/init minit.c,NONE,1.1 msvc.c,NONE,1.1 pidfilehack.c,NONE,1.1 Config.in,1.1,1.2 Makefile.in,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list