aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h2
-rw-r--r--include/usage.h8
2 files changed, 4 insertions, 6 deletions
diff --git a/include/applets.h b/include/applets.h
index a4e78af57..61210bcc3 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -612,7 +612,7 @@
612#ifdef CONFIG_SYNC 612#ifdef CONFIG_SYNC
613 APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER) 613 APPLET(sync, sync_main, _BB_DIR_BIN, _BB_SUID_NEVER)
614#endif 614#endif
615#ifdef CONFIG_SYSCTL 615#ifdef CONFIG_BB_SYSCTL
616 APPLET(sysctl, sysctl_main, _BB_DIR_SBIN, _BB_SUID_NEVER) 616 APPLET(sysctl, sysctl_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
617#endif 617#endif
618#ifdef CONFIG_SYSLOGD 618#ifdef CONFIG_SYSLOGD
diff --git a/include/usage.h b/include/usage.h
index 29d78bbbb..723b97759 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2654,24 +2654,22 @@
2654# define USAGE_IPC_LOG(a) 2654# define USAGE_IPC_LOG(a)
2655#endif 2655#endif
2656 2656
2657#ifdef CONFIG_SYSCTL
2658#define sysctl_trivial_usage \ 2657#define sysctl_trivial_usage \
2659 "[OPTIONS]... [VALUE]..." 2658 "[OPTIONS]... [VALUE]..."
2660#define sysctl_full_usage 2659#define sysctl_full_usage \
2661 "sysctl - configure kernel parameters at runtime\n\n" \ 2660 "configure kernel parameters at runtime\n\n" \
2662 "Options:\n" \ 2661 "Options:\n" \
2663 "\t-n\tUse this option to disable printing of the key name when printing values\n" \ 2662 "\t-n\tUse this option to disable printing of the key name when printing values\n" \
2664 "\t-w\tUse this option when you want to change a sysctl setting\n" \ 2663 "\t-w\tUse this option when you want to change a sysctl setting\n" \
2665 "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \ 2664 "\t-p\tLoad in sysctl settings from the file specified or /etc/sysctl.conf if none given\n" \
2666 "\t-a\tDisplay all values currently available\n" \ 2665 "\t-a\tDisplay all values currently available\n" \
2667 "\t-A\tDisplay all values currently available in table form" 2666 "\t-A\tDisplay all values currently available in table form"
2668#define sysctl_example_usage 2667#define sysctl_example_usage \
2669 "sysctl [-n] variable ...\n" \ 2668 "sysctl [-n] variable ...\n" \
2670 "sysctl [-n] -w variable=value ...\n" \ 2669 "sysctl [-n] -w variable=value ...\n" \
2671 "sysctl [-n] -a\n" \ 2670 "sysctl [-n] -a\n" \
2672 "sysctl [-n] -p <file>\t(default /etc/sysctl.conf)\n" \ 2671 "sysctl [-n] -p <file>\t(default /etc/sysctl.conf)\n" \
2673 "sysctl [-n] -A\n" 2672 "sysctl [-n] -A\n"
2674#endif
2675 2673
2676#define syslogd_trivial_usage \ 2674#define syslogd_trivial_usage \
2677 "[OPTION]..." 2675 "[OPTION]..."