summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-06 12:27:47 +0100
committerDenys Vlasenko2010-01-06 12:27:47 +0100
commitede737b7cfb2d86965ebde07004ede3d8c3f1ab8 (patch)
tree1d84c6e20dada0e412a1aabbd5133a6cf960c347 /include
parent79ae534ac7a1e1ead80737b4b09769916c2bbb49 (diff)
downloadbusybox-ede737b7cfb2d86965ebde07004ede3d8c3f1ab8.zip
busybox-ede737b7cfb2d86965ebde07004ede3d8c3f1ab8.tar.gz
ntpd: add -S PROG option. This feature is crucial for CMOS/RTC syncronization
function old new delta run_script 112 278 +166 ntpd_main 779 825 +46 update_local_clock 824 858 +34 packed_usage 26518 26540 +22 ntp_init 366 371 +5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 273/0) Total: 273 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 8c5a2db..c5707d8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3226,7 +3226,7 @@
"Address: 127.0.0.1\n"
#define ntpd_trivial_usage \
- "[-dnqwl] [-p PEER]..."
+ "[-dnqwl] [-S PROG] [-p PEER]..."
#define ntpd_full_usage "\n\n" \
"NTP client/server\n" \
"\nOptions:" \
@@ -3238,6 +3238,7 @@
/* "\n -N Run at high priority" */ \
"\n -w Do not set time (only query peers), implies -n" \
"\n -l Run as server on port 123" \
+ "\n -S PROG Run PROG after stepping time, stratum change, and every 11 mins" \
"\n -p PEER Obtain time from PEER (may be repeated)" \
#define od_trivial_usage \