diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-06 12:27:47 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-06 12:27:47 +0100 |
commit | ede737b7cfb2d86965ebde07004ede3d8c3f1ab8 (patch) | |
tree | 1d84c6e20dada0e412a1aabbd5133a6cf960c347 /include | |
parent | 79ae534ac7a1e1ead80737b4b09769916c2bbb49 (diff) | |
download | busybox-w32-ede737b7cfb2d86965ebde07004ede3d8c3f1ab8.tar.gz busybox-w32-ede737b7cfb2d86965ebde07004ede3d8c3f1ab8.tar.bz2 busybox-w32-ede737b7cfb2d86965ebde07004ede3d8c3f1ab8.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 8c5a2dbc5..c5707d8b4 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3226,7 +3226,7 @@ | |||
3226 | "Address: 127.0.0.1\n" | 3226 | "Address: 127.0.0.1\n" |
3227 | 3227 | ||
3228 | #define ntpd_trivial_usage \ | 3228 | #define ntpd_trivial_usage \ |
3229 | "[-dnqwl] [-p PEER]..." | 3229 | "[-dnqwl] [-S PROG] [-p PEER]..." |
3230 | #define ntpd_full_usage "\n\n" \ | 3230 | #define ntpd_full_usage "\n\n" \ |
3231 | "NTP client/server\n" \ | 3231 | "NTP client/server\n" \ |
3232 | "\nOptions:" \ | 3232 | "\nOptions:" \ |
@@ -3238,6 +3238,7 @@ | |||
3238 | /* "\n -N Run at high priority" */ \ | 3238 | /* "\n -N Run at high priority" */ \ |
3239 | "\n -w Do not set time (only query peers), implies -n" \ | 3239 | "\n -w Do not set time (only query peers), implies -n" \ |
3240 | "\n -l Run as server on port 123" \ | 3240 | "\n -l Run as server on port 123" \ |
3241 | "\n -S PROG Run PROG after stepping time, stratum change, and every 11 mins" \ | ||
3241 | "\n -p PEER Obtain time from PEER (may be repeated)" \ | 3242 | "\n -p PEER Obtain time from PEER (may be repeated)" \ |
3242 | 3243 | ||
3243 | #define od_trivial_usage \ | 3244 | #define od_trivial_usage \ |