[8.09] [package] busybox: add 2 upstream fixes
[openwrt/svn-archive/archive.git] / package / busybox / patches / 904-ssd.patch
1 --- a/include/usage.h
2 +++ b/include/usage.h
3 @@ -3649,8 +3649,8 @@
4 "[OPTIONS] [-S|-K] ... [-- arguments...]"
5 #define start_stop_daemon_full_usage "\n\n" \
6 "Search for matching processes, and then\n" \
7 - "-S: stop all matching processes.\n" \
8 - "-K: start a process unless a matching process is found.\n" \
9 + "-S: start a process unless a matching process is found.\n" \
10 + "-K: stop all matching processes.\n" \
11 USE_GETOPT_LONG( \
12 "\nProcess matching:" \
13 "\n -u,--user USERNAME|UID Match only this user's processes" \
14 @@ -3660,7 +3660,7 @@
15 "\n in /proc/PID/cmdline" \
16 "\n -p,--pidfile FILE Match a process with PID from the file" \
17 "\n All specified conditions must match" \
18 - "\n-K only:" \
19 + "\n-S only:" \
20 "\n -x,--exec EXECUTABLE Program to run" \
21 "\n -a,--startas NAME Zeroth argument" \
22 "\n -b,--background Background" \
23 @@ -3669,7 +3669,7 @@
24 ) \
25 "\n -c,--chuid USER[:[GRP]] Change to user/group" \
26 "\n -m,--make-pidfile Write PID to the pidfile specified by -p" \
27 - "\n-S only:" \
28 + "\n-K only:" \
29 "\n -s,--signal SIG Signal to send" \
30 "\n -t,--test Match only, exit with 0 if a process is found" \
31 "\nOther:" \
32 @@ -3688,7 +3688,7 @@
33 "\n command in /proc/PID/cmdline" \
34 "\n -p FILE Match a process with PID from the file" \
35 "\n All specified conditions must match" \
36 - "\n-K only:" \
37 + "\n-S only:" \
38 "\n -x EXECUTABLE Program to run" \
39 "\n -a NAME Zeroth argument" \
40 "\n -b Background" \
41 @@ -3697,7 +3697,7 @@
42 ) \
43 "\n -c USER[:[GRP]] Change to user/group" \
44 "\n -m Write PID to the pidfile specified by -p" \
45 - "\n-S only:" \
46 + "\n-K only:" \
47 "\n -s SIG Signal to send" \
48 "\n -t Match only, exit with 0 if a process is found" \
49 "\nOther:" \