diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 2 | ||||
-rw-r--r-- | include/usage.h | 52 |
2 files changed, 28 insertions, 26 deletions
diff --git a/include/applets.h b/include/applets.h index f3b5f3d1c..585ea1f68 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -501,7 +501,7 @@ | |||
501 | #endif | 501 | #endif |
502 | #ifdef CONFIG_RUN_PARTS | 502 | #ifdef CONFIG_RUN_PARTS |
503 | APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts) | 503 | APPLET_ODDNAME("run-parts", run_parts_main, _BB_DIR_BIN, _BB_SUID_NEVER, run_parts) |
504 | #endif | 504 | #endif |
505 | #ifdef CONFIG_RX | 505 | #ifdef CONFIG_RX |
506 | APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 506 | APPLET(rx, rx_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
507 | #endif | 507 | #endif |
diff --git a/include/usage.h b/include/usage.h index ec8f3c808..272c3d055 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1156,7 +1156,7 @@ | |||
1156 | "\n" \ | 1156 | "\n" \ |
1157 | " <id>:<runlevels>:<action>:<process>\n" \ | 1157 | " <id>:<runlevels>:<action>:<process>\n" \ |
1158 | "\n" \ | 1158 | "\n" \ |
1159 | " <id>: \n" \ | 1159 | " <id>:\n" \ |
1160 | "\n" \ | 1160 | "\n" \ |
1161 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ | 1161 | " WARNING: This field has a non-traditional meaning for BusyBox init!\n" \ |
1162 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ | 1162 | " The id field is used by BusyBox init to specify the controlling tty for\n" \ |
@@ -1169,13 +1169,13 @@ | |||
1169 | " will be run. BusyBox init does nothing with utmp. We don't need no\n" \ | 1169 | " will be run. BusyBox init does nothing with utmp. We don't need no\n" \ |
1170 | " stinkin' utmp.\n" \ | 1170 | " stinkin' utmp.\n" \ |
1171 | "\n" \ | 1171 | "\n" \ |
1172 | " <runlevels>: \n" \ | 1172 | " <runlevels>:\n" \ |
1173 | "\n" \ | 1173 | "\n" \ |
1174 | " The runlevels field is completely ignored.\n" \ | 1174 | " The runlevels field is completely ignored.\n" \ |
1175 | "\n" \ | 1175 | "\n" \ |
1176 | " <action>: \n" \ | 1176 | " <action>:\n" \ |
1177 | "\n" \ | 1177 | "\n" \ |
1178 | " Valid actions include: sysinit, respawn, askfirst, wait, \n" \ | 1178 | " Valid actions include: sysinit, respawn, askfirst, wait,\n" \ |
1179 | " once, restart, ctrlaltdel, and shutdown.\n" \ | 1179 | " once, restart, ctrlaltdel, and shutdown.\n" \ |
1180 | "\n" \ | 1180 | "\n" \ |
1181 | " The available actions can be classified into two groups: actions\n" \ | 1181 | " The available actions can be classified into two groups: actions\n" \ |
@@ -1209,13 +1209,13 @@ | |||
1209 | " respawn, except that before running the specified process it\n" \ | 1209 | " respawn, except that before running the specified process it\n" \ |
1210 | " displays the line "Please press Enter to activate this console."\n" \ | 1210 | " displays the line "Please press Enter to activate this console."\n" \ |
1211 | " and then waits for the user to press enter before starting the\n" \ | 1211 | " and then waits for the user to press enter before starting the\n" \ |
1212 | " specified process. \n" \ | 1212 | " specified process.\n" \ |
1213 | "\n" \ | 1213 | "\n" \ |
1214 | " Unrecognized actions (like initdefault) will cause init to emit an\n" \ | 1214 | " Unrecognized actions (like initdefault) will cause init to emit an\n" \ |
1215 | " error message, and then go along with its business. All actions are\n" \ | 1215 | " error message, and then go along with its business. All actions are\n" \ |
1216 | " run in the order they appear in /etc/inittab.\n" \ | 1216 | " run in the order they appear in /etc/inittab.\n" \ |
1217 | "\n" \ | 1217 | "\n" \ |
1218 | " <process>: \n" \ | 1218 | " <process>:\n" \ |
1219 | "\n" \ | 1219 | "\n" \ |
1220 | " Specifies the process to be executed and it's command line.\n" \ | 1220 | " Specifies the process to be executed and it's command line.\n" \ |
1221 | "\n" \ | 1221 | "\n" \ |
@@ -1651,7 +1651,7 @@ | |||
1651 | "\tc or u:\tMake a character (un-buffered) device.\n" \ | 1651 | "\tc or u:\tMake a character (un-buffered) device.\n" \ |
1652 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes." | 1652 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes." |
1653 | #define mknod_example_usage \ | 1653 | #define mknod_example_usage \ |
1654 | "$ mknod /dev/fd0 b 2 0 \n" \ | 1654 | "$ mknod /dev/fd0 b 2 0\n" \ |
1655 | "$ mknod -m 644 /tmp/pipe p\n" | 1655 | "$ mknod -m 644 /tmp/pipe p\n" |
1656 | 1656 | ||
1657 | #define mkswap_trivial_usage \ | 1657 | #define mkswap_trivial_usage \ |
@@ -2212,18 +2212,20 @@ | |||
2212 | "f\n" | 2212 | "f\n" |
2213 | 2213 | ||
2214 | #define start_stop_daemon_trivial_usage \ | 2214 | #define start_stop_daemon_trivial_usage \ |
2215 | "[OPTIONS]" | 2215 | "[OPTIONS] [-S|--start|-K|--stop] ... [-- arguments...]\n" |
2216 | #define start_stop_daemon_full_usage \ | 2216 | #define start_stop_daemon_full_usage \ |
2217 | "Program to start and stop services.\n"\ | 2217 | "Program to start and stop services."\ |
2218 | "Options:\n" \ | 2218 | "\n\nOptions:"\ |
2219 | "-S\t\t\tstart\n"\ | 2219 | "\n\t-S|--start\t\t\tstart"\ |
2220 | "-K\t\t\tstop\n"\ | 2220 | "\n\t-K|--stop\t\t\tstop"\ |
2221 | "-b\t\t\tforce process into background (daemonize)\n"\ | 2221 | "\n\t-a|--startas <pathname>\t\tstart the process specified by pathname"\ |
2222 | "-x <executable>\t\tprogram to start/check if it is running\n"\ | 2222 | "\n\t-b|--background\t\t\tforce process into background"\ |
2223 | "-u <username>|<uid>\tstop this user's processes\n"\ | 2223 | "\n\t-u|--user <username>|<uid>\tstop this user's processes"\ |
2224 | "-n <process-name>\tstop processes with this name\n"\ | 2224 | "\n\t-x|--exec <executable>\t\tprogram to start/check if it is running"\ |
2225 | "-s <signal>\t\tsignal to send (default 15)\n"\ | 2225 | "\n\t-n|--name <process-name>\tstop processes with this name"\ |
2226 | "-a <pathname>\t\tprogram to start (default <executable>)\n" | 2226 | "\n\t-p|--pidfile <pid-file>\t\tsave or load pid using a pid-file"\ |
2227 | "\n\t-q|--quiet\t\t\tbe quiet" \ | ||
2228 | "\n\t-s|--signal <signal>\t\tsignal to send (default TERM)\n" | ||
2227 | 2229 | ||
2228 | #define strings_trivial_usage \ | 2230 | #define strings_trivial_usage \ |
2229 | "[-afo] [-n length] [file ... ]" | 2231 | "[-afo] [-n length] [file ... ]" |
@@ -2478,7 +2480,7 @@ | |||
2478 | "$ echo $?\n" \ | 2480 | "$ echo $?\n" \ |
2479 | "1\n" \ | 2481 | "1\n" \ |
2480 | "$ test 1 -eq 1\n" \ | 2482 | "$ test 1 -eq 1\n" \ |
2481 | "$ echo $? \n" \ | 2483 | "$ echo $?\n" \ |
2482 | "0\n" \ | 2484 | "0\n" \ |
2483 | "$ [ -d /etc ]\n" \ | 2485 | "$ [ -d /etc ]\n" \ |
2484 | "$ echo $?\n" \ | 2486 | "$ echo $?\n" \ |
@@ -2750,12 +2752,12 @@ | |||
2750 | "COMMAND [OPTIONS] ..." | 2752 | "COMMAND [OPTIONS] ..." |
2751 | 2753 | ||
2752 | #define vconfig_full_usage \ | 2754 | #define vconfig_full_usage \ |
2753 | "Usage: add [interface-name] [vlan_id] \n" \ | 2755 | "Usage: add [interface-name] [vlan_id]\n" \ |
2754 | " rem [vlan-name] \n" \ | 2756 | " rem [vlan-name]\n" \ |
2755 | " set_flag [interface-name] [flag-num] [0 | 1] \n" \ | 2757 | " set_flag [interface-name] [flag-num] [0 | 1]\n" \ |
2756 | " set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | 2758 | " set_egress_map [vlan-name] [skb_priority] [vlan_qos]\n" \ |
2757 | " set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | 2759 | " set_ingress_map [vlan-name] [skb_priority] [vlan_qos]\n" \ |
2758 | " set_name_type [name-type] \n" | 2760 | " set_name_type [name-type]\n" |
2759 | 2761 | ||
2760 | #define vi_trivial_usage \ | 2762 | #define vi_trivial_usage \ |
2761 | "[OPTION] [FILE]..." | 2763 | "[OPTION] [FILE]..." |