summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen2001-10-18 19:33:06 +0000
committerEric Andersen2001-10-18 19:33:06 +0000
commitc2af1ee03667fbcf5bd456ea26e9f9e317a892a1 (patch)
treee25a68be710fe88ce6db0f4191caa47ba5f43d98 /applets
parentbcca3317b59a0180f0b42428e9c25405bc423520 (diff)
downloadbusybox-c2af1ee03667fbcf5bd456ea26e9f9e317a892a1.zip
busybox-c2af1ee03667fbcf5bd456ea26e9f9e317a892a1.tar.gz
Commit the start-stop-daemon applet. This was contributed by David
Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from Lineo. So it seems I totally forgot about this patch until now. Sorry about that David!
Diffstat (limited to 'applets')
-rw-r--r--applets/usage.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/applets/usage.h b/applets/usage.h
index 0d830c9..5e51427 100644
--- a/applets/usage.h
+++ b/applets/usage.h
@@ -1458,6 +1458,20 @@
"e\n" \
"f\n"
+#define start_stop_daemon_trivial_usage \
+ "[OPTIONS]"
+#define start_stop_daemon_full_usage \
+ "Program to start and stop services.\n"\
+ "Options:\n" \
+ "-S\t\t\tstart\n"\
+ "-K\t\t\tstop\n"\
+ "-x <executable>\t\tprogram to start/check if it is running\n"\
+ "-p <pid-file>\t\tpid file to check\n"\
+ "-u <username>|<uid>\tstop this user's processes\n"\
+ "-n <process-name>\tstop processes with this name\n"\
+ "-s <signal>\t\tsignal to send (default 15)\n"\
+ "-a <pathname>\t\tprogram to start (default <executable>)\n"
+
#define stty_trivial_usage \
"[-a|g] [-F DEVICE] [SETTING]..."
#define stty_full_usage \