aboutsummaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index f94346172..0bdc90eaa 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -34,18 +34,6 @@
34static _syscall2(int, bdflush, int, func, int, data); 34static _syscall2(int, bdflush, int, func, int, data);
35#endif /* __GLIBC__ */ 35#endif /* __GLIBC__ */
36 36
37
38static char update_usage[] =
39 "update [options]\n"
40#ifndef BB_FEATURE_TRIVIAL_HELP
41 "\nPeriodically flushes filesystem buffers.\n\n"
42 "Options:\n"
43 "\t-S\tforce use of sync(2) instead of flushing\n"
44 "\t-s SECS\tcall sync this often (default 30)\n"
45 "\t-f SECS\tflush some buffers this often (default 5)\n"
46#endif
47 ;
48
49static unsigned int sync_duration = 30; 37static unsigned int sync_duration = 30;
50static unsigned int flush_duration = 5; 38static unsigned int flush_duration = 5;
51static int use_sync = 0; 39static int use_sync = 0;